|
|
|
|
|
|
|
|
|
|
|
|
|
|
JAVA PROGRAMMING
Whitespace Java is a free-form language. This means that you do not need to follow any special indention rules. In Java, whitespace is a space, tab, or newline. Identifiers Identifiers are used for class name, method names, and variable name. An identifier may be any descrptive sequence of uppercase and lowercase, numbers, or the underscore and dollor-sign characters. They must not begin with a number. Valid Identifiers AvgTemp count a4 $text emp_name Invalid Identifiers 2count high-temp emp/name The Java Keywords
In addition to the keywords, Java reserves the following: true , false and null. These are values defined by Java. You may not use these words for the names of variables, classes, and so on.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|