Im stuck on 7/13

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

Hey, so i am stuck on lesson 7/13 on the OOP.
<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/courses/learn-java/lessons/object-oriented-programming/exercises/objects

<In what way does your code behave incorrectly? Include ALL error messages.>
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);

}

}

<do not remove the three backticks above>
1 Like

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.