+ 2
Error
There is no getAge() method in package, it is not correctly to ask - what will be output.
6 Réponses
+ 6
Please specify what language you are asking about. Is it Java?
+ 5
Your question is not easy to understand unless you provide more context. Please post the code you are referring to
+ 5
@serhii the question is correct. The question contains a part of the code and not the full code.
The full code would contain a Person Class that has getAge() and setAge() methods.
The question only showed the content of the main(String[] args) method in the Main Class
+ 1
I can't find it) it was one of the questions after theme get/set methods
+ 1
specify which programming language and also mention your question with some description
+ 1
Java. Lesson class& objects 9/14 in second question