Java   View all facts   Glossary   Help
syntactic unit > symbol > name > variable name
Next nameclass name    Upname    Previous namesimple name   

variable name
subjectfact 
variable namehas convention it consists of several words joined together with the first letter of the variable name in lowercase, each successive word beginning with a capital letter and all other letters lowercaseadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:38:14.0
has example
  • loadFile
  • areaCode
  • quitGame
added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:38:14.0
is case sensitiveadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:38:14.0
is a subtopic of Variables and Data Types2001-10-19 11:38:14.0
is a kind of nameadded by: JK, 2001-10-19 11:38:14.0
may contain any combination of Unicode characters after the first characteradded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:38:14.0
may not start with a numberadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:38:14.0
must start with a letter, an underscore character (_) or a dollar sign ($)added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:38:14.0
nameis made up of a sequence of Unicode characters2001-10-19 11:37:27.0
syntactic unithas syntax rule
bold = mandatory
italic = non-terminal
normal font = optional
2001-10-19 11:38:04.0

Kinds of variable name :