Types of Variables
Division 1 :
Based on the type of value represented by a variable all variables are divided into 2 types. They are:
- Primitive variables
- Reference variables
Types of Variables
Division 1 :
Based on the type of value represented by a variable all variables are divided into 2 types. They are:
}Identifier
A name in java program is called identifier. It may be class name, method name, variable name and label name.
}Class Test{ |1public static void main(string args) {| | |2 3 4int x = 10;|5}
}Introduction