Language Fundamentals in Java
Overview Language Fundamentals Identifiers - A name in Java Program is called an Identifier. Which can be used for identification purpose. It can be method name, or variable name of class name or label name. The characters allowed in an identifier are A-Z, a-z, 0-9, _ and $. Rest other characters will give you a compile time error. An identifier must not start with a digit. An identifier is case sensitive and it can have n number of characters. Reserved Words - There are 53 reserved words available in Java. Keywords (50) Used Keywords (48) Data types byte short int long float double char boolean Conditions if else switch case default do while for break continue return Modifiers public private protected static final abstract synchronized native transient volatile strictfp Exception try catch finally throw throws assert Class class interface extends implements package import Object new instanceof super this Return type void Unused Keywords (2) - goto and const Reserved Literals ...