Im stuck on 7/13


Hey, so i am stuck on lesson 7/13 on the OOP.

Its saying that I need to make sure I include an integer parameter.

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

	public static void main(String[] args) {
    //Dog Dog = new spike(int age);
    Dog spike = new Dog(3);



Hi I cant help much but I did run your code on the editor and it didn't give me any errors.

I did read in other threads restarting the exercise can help I found this on the botton right corner "get help" and then "i want to restart this exercise"


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