Quick Index
Overview


Java variable names use camel case (bumpy) which simply means the first character of each word is capitalized (except for the very first character of the name).

Note that spaces are not allowed in any of the names.

Also see alphanumeric

Rules


Coverage


This includes all variable types -- e.g., local variables, instance variables, method parameters, function parameters, etc.

Valid Characters


First character -- Lowercase letter or underscore allowed (digit not allowed)
Remaining characters (beyond first) -- Alphanumeric character or underscore allowed (digits allowed)

Examples of Valid Variable Names



Examples of Improper Method Names