What's the cat's name?

  • 3
  • Locked
Help the cat get a name using the setName method.
You can't complete this task, because you're not signed in.
Comments (2)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
2 September, 12:35
More of an intermediate lesson, but the core of the lesson is this: * If a method is declared with the keyword "static", then you must use "Classname.variableName" to access a class variable. * If a method is NOT declared with the keyword "static", then you can use "this.variableName" to access a class variable. I hope this helps anyone attempting this problem.
Anon#10923148
Level 9 , Sweden
21 January, 19:11
i always forget this stuff