It is valid. myClass is valid, myStaticBoots is valid, myAbstractDog is valid. newYork is also valid As long as the given name is not a reserved keyword.
Names are usually consisting of word, whose first letter is upper-case. Like "isRainFalling", "carColour", "dayOfMonth"....
pras
Ranch Hand
Joined: Apr 04, 2007
Posts: 188
posted
0
is carcolor and Carcolor valid?
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32712
4
posted
0
Both "Carcolor" and "carcolor" will get past the compiler as valid identifiers, but (as you already know) they don't match the coding conventions for people who have to read the code.