Lesson 3/4 instance Variables

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

<Below this line, add a link to the EXACT exercise that you are stuck at.>
Why don’t regonize de variable ‘age’ in code?

<In what way does your code behave incorrectly? Include ALL error messages.>
Did you create an instance variable called age? Place it inside of the class, but before the Dog constructor.
Run

```

Replace this line with your code.
class Dog{

int age;

//class constructor
public Dog(){

}

public static void main(String args) {

}
}

<do not remove the three backticks above>

remove this comment you made

//class constructor

then try

ok, vary good! but it is doubt?
than it’s not permit to inside document line?

Thank for the help

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