+ 1
Wrong class name spelling
Java language is case sensitive, and on the last question in "CLASS ATTRIBUTES" section the class name of variable "obj1" is written in lower case "people" while it should read "People"
2 Answers
+ 1
I think you are right!
0
The question is correct Vassili
it is a CONVENTION, a good practice, to write class names with a capital first letter, but it's not a syntactic rule, so you can name it people or People or peoPLE if you want
Your are right in the case sensitive part, so if your class name is peoPLE you have to do this :
peoPLE variableName = new peoPLE() ;