2.Language Fundamentals
2.Language Fundamentals
Unicode character set is the combination of both ASCII and Non ASCII
Range : 0 to 65535
ASCII Includes :
A TO Z : 65 to 90, a to z : 97 to 122, 0-9 [48 to 57] ,
Space bar : 32 , Esc : 27, Backspace :8
2.Variable : It is named container , which enable you to store the date temporarily
during the programming execution or A space to store the data
3.Datatypes :
These are used to represent what type of the data to be stored in the specified
variable.
In Java datatypes are classified into 2 category.
1.Primitive Datatypes :
These are used to store the values
1|Page
SSSIT Computer Education
Besides R.S.Brothers Show Room
KPHB-Hyderabad. Java Online Training
Java
Java implements IEEE 754 standard
double 8 bytes approximately
±1.79769313486231570E+308
(15 significant decimal digits)
char 2 byte 0 to 65,536 (unsigned)
boolean not precisely true or false
defined*
2.Reference Datatypes :
These are used to store the references , where the values a stored
Eg: Class, Array, Interfaces
Primitive types are used to store the data, whereas reference types are used to
store the reference where data is stored.
4.Identifiers
Are nothing but the names which are declared by us for the programming
requirements such as , Variablenames, method names,package names , class
names etc.
2|Page
SSSIT Computer Education
Besides R.S.Brothers Show Room
KPHB-Hyderabad. Java Online Training
Java
Eg: eno, ENO,eNO
_eno
989eno --> invalid
eno989 --->valid
e.no ---> invalid
e_no --> valid
e$no --> valid
e[no] --> invalid
EMPLOYEENUMBER --> valid
assert --> invalid | Keyword
5.Keywords
These are nothing but reserved words.
These are having its own importance in the programming
The meaning of the keywords are defined to the compilers
Keywords W.R.T.Modifiers:
=======================================
Access Modifiers:
private, default, protected, public
3|Page
SSSIT Computer Education
Besides R.S.Brothers Show Room
KPHB-Hyderabad. Java Online Training
Java
abstract, final, static, transient, volatile,
synchronized , native, strictfp
4|Page