Professional Documents
Culture Documents
Public
Protected Keywords
Private
no access(defaulut) This is not Keyword, the top three are keywords
System.out.println("Hi");
Modifiers:
static
final
abstract
native
volatile
synchronize
transient
primitive datatypes
boolean (default false) ------ 1 Byte ------ 8 Bits ------false
byte(0), ------ ------ ------ ------1 Byte ------8 Bits
short(0 2 bytes), ------ --------2 Bytes------16 Bits
char(u\0000), ------ ------ -----2 Bytes------16 Bits
int(0), ------ ------ ------ --------4 Bytes------32 Bits
float(0.0f), -----------------------4 Bytes-----32
long(0L), --------------------------8 Bytes------64 Bits
double(0.0d).---------------------8 Bytes------64 Bits
blocks:
two types of blocks
Data Types
datatypes - 8
Access Specifiers - 3
Access Modifiers - 7
Exeptional Handling - 5
Iteration - 3
conditional - 7
general - 11
daily - 5
testing -
Reseverd: goto, const, assert, scriptof.
commanLine Arguments:
WRAPPER CLASS:
boolen Boolean (Boolen accepting string apart from boolen values) true, false only
boolean not 1,0
byte Byte
chart Charecter charecter acccepts (char c) rest all of are overloaded
short Short
int Integer
float Float
long Long
double Double
Packages
java.lang.* - Object
java.util.* - date, Calender, scanner