Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

CAI Examination

NSHM Knowledge Campus Durgapur-GOL273)


Name of the Student: Dateof Examination: 5/ O/2023
Course: Semester: gth
Paper Name: 00PS MAKAUT Roll No.:
Paper Code: pcc- cssOR Marks Obtaincd:

àa vrtual waehin that enabt


couten to mun yea mogmama
witen n sthss

U. clos
behaiorr
Lueprint that descsb
Suyppont
s'yect An object instan
las
Peinitie alate ypa are a

bogi < datr types fom tteh all' Bhrshun


data tpes me constructed. ÈÀy: Cosleun
ehar,
Bimih
Code m

Jala (vaniabas ) and eid fmithoduj jnto a


Jinge unit
The statie kuywond in1ma is wsed
maiy
Exuphon Tnacec Sack point <.
e)3 (Cnterupdd cateh
StetC
childThead.
/
tackTra
ee( printS R
xeeption
)' Cateh
(1ooo) tleThnead.
up
ty
i); ('kAd printtn gut. Syetena
it+J3 ieinriel;
S (for
mun( void buleie
Tkreead
ar)i mainfstig
] void staie puslie
mahn clae publie
Giroup.B
y. dahaensuiy and
Hiy a account
at from.ha
thnead y
withh Qan
Bynehoed' enam ths n
that nsres
lbalanee.)
}elsei
o utSy8tm
.
aounbalanee-=
doauo wth void izsd ymahno publie
(0o6j balance jnt private
AceountE Bonk dass
nad comidenA exowe, for othero each
intnfering
oik foce thoadi mullte
prevnF gAonece
to onCoek a
harin
Gle 'stime.I a ,atmethod
block barewa - Synchmoniza
ien
ony that eusres gave m
2.
cmstector accepts wone agmente
and wes thoe value to iniai dojeet
attibuts
Exa:
lats shudnt
Sting mame s

puie student(Stringn nta)


e= a

Here th' Shhdant elass has a pametemrid


Gonstruetr tkat dlonl gou do peoity the
name' and aje' wien creatig a Shudnt
object, ike' new shuent (" Atiea, 20)'.
Non- pogmiteniaed emsthmuctot A man
pana mehined
emstuctom, do edn't take ay my
Jefoult

ponformá basie
valnes

P.T.O
class. Siye
oclass,
cess Supeo behseen4 inheitamle.
Can
elathd
toSpecifically a.
cass supen its in
hat method afen anawetens sftenent
Spefie
Bulsbles
methodd wutpe
overtoaig
Method Method
vaues,
Speof ikont cntatzd
mdyeo unkno toiake I
to
aontuctorFanmmeteized
tRsate hat
clas Can am, ex HAs En
mon has
0) Jeayo
Unknown"
Cart
waka. Sting
Ca4rclas
doundl) makl
vid Awimal
etenda Deg votl
prit-(int
a)
voj
hs Javs, pullie Jaa
8.
ethods isten wethos
instone and
aie both
S.
or Bame
hehane Can
ifien.
iehestoic warre wadifegs.
Jreent have Can 4.
yp). (om
typas. etuon
Jifemnt
theMusthare 2-
Canhare.
the 3.
Melhd
Method

You might also like