oop-assignment1
oop-assignment1
THADOMAL SHAHANI
St JUorMPS-(3
TSEC
ENGINEERING COLLEGE
Assignmert1
oeiteshort note on
Features ot fasa
Java is robust ond secure '
Jova does nD &uport the concepB ot pointers directls This maka
iapaSsible to accidenty relesence memor that belongs'to athex
JVM, JDIR RE
3.
4avab
L0vodocNG
javap
THADOMAL SHAHANI
TSEC
ENGINEERING COLLEGE
3Lrapper dlaues.
uhappe claue axe fhase clcuu that alloo primitive daa fype
tobe atud n ohjecth Tht erappex clau is a Aind ot orapper
dtound prìmitiue daia tyße. Tke orapptr clau xepteienh thu primitive
data iupe in t intancel'etclau
Prinitive data type and eoneponding wapptr ca
booleao Booleao
byte Bute
ehar Charactex
dou ble Double
float Float
int
Inteqt
Jong
Shert - Short
Void Votd
4 fe cycle af a thread.
Neu
orreleion Exit
Runnakle. armnaied
daiting
eiting INer val
tostefec
to
1erva
shate
Runnoble state
This is Qstate inohich d thrend starts extrcting:
B)ecked state.
twhena povi tola thread tssue an Ingt otput yefquat fhen
OS send into bleeRed state until I|o pesoftonu qut Coen plete d
AHe th/o opexaHon eomplttio n the thirea d ts 'Sencl bante to
UOnable tata
erminated state
After sceceudcl co mplet ion bt exection o thre ad in runna ble
state enters thu otesnina e d state