Stuck at 5/13


#1



I'm stuck at the first question 5/13


It asks me to add the dogsAge parameter to the constructor, but I think that I have already added that.

class Dog{

  int age ;

  
  public Dog (int dogsAge) {
    age = dogsAge;
  }

  public static void main(String[] args)
  {


	}
}


#2

Was stuck just like you, then I deleted all code and tried this code:

class Dog {


    int age;

    public Dog(int dogsAge) {

        age = dogsAge;
    }
}

#3

public Dog(int dogsAge) {
age = dogsAge;

}


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.