Exercise 4/13

the error is “Did you create an instance variable called age? Place it inside of the class, but before the Dog constructor.” What I do wrong?
class Dog {

 int dogsAge;

public Dog (int dogsAge) {

}
public static void main(Srting args){

}

}

Ensure the variable is called age. If it’s called dogsAge then it may not work because of how the courses are created.

thanks. This work
class Dog {

 int age;

	 public Dog (int dogAge) {
 age = dogAge; 
 } 
 
	public static void main(String[] args)
	{
  
	}

}