+ 3
myage or myAge
I think variable in a class should be called in camel case style: myAge
3 Answers
+ 20
Yes, you're right. According to the Naming Convention for Java you should use lowerCamelCase syntax for naming variables.
+ 2
Thanks
+ 1
For Java, betterUseCamelStyle.
remember that it is a naming convention not a must.