The main goal is to create a static variable that will increment with every new instance created of this class. Is this in anyway acceptable to use a static variable inside of a constructor? I know a static constructor would fall apart very fast, but any help is appreciated.
class Bird {
private static int birdPop = 0;
public Bird (String birdColor, int birdAge) {
setBirdColor(String n);
setBirdAge(int g);
birdPop++;
}
}