CC-3 (Java) Assignment Sem2
CC-3 (Java) Assignment Sem2
(OULEGB,BUK)
HoNS.2M>
20220101047O
CHATTERJEE
ScIENCE AssiGNHENT
WOMBN'S 95 No.z
SHRIJATA No.: :
CoMFUrER Rou No
CC-3
RoLL S11y REGISTRATIoN
CoueGE
M.JLG. : : UnovER :
NAMEDEPT. SUBTECT
Surial
No.
7 S. 4. 3 2. 1.
clas.
Applat
haahug lay
ta Cuatuy lowelcase
(Bvetiug
wan-dfied teheitonce.
packcage luplemeutuy
artudligtppecae
by huaplueutg
Hiuancliealeleuets
Ovenloaug Oveal
olg oo
CaustuctorNottod
Moume
lbpie
a ou oud
banie all CONTENTS
dha'ariad' wan- ohetler
n
uppeOna
a ll Multiple
lowecase
applat defed
no a
by tnea letteus
eeteudug olan. lettes paceage hei a
to tauce i's
14 10 4 3
Re (apul waing hullare4 Pader ad tetesuls hutlas o
’ impet jama io,
clan Amnaatrog
pukle staic void wain (shieg angs (1) thmos îoéxaption
OUTPUT
Cutu o uo.
tS3
AMSTRONG NO.
fage
elas Shape
pulalic veid oea (deublu r)
deuble a e 3.14 +T* T;
UTPOT
ATa a cole 50
faqe -S)
3) Luplewuet CosbuecAa Ovealoooing
’clas Box
3
pblie daubta velumeC)
lam Ceustuetr-suenload
puslie stahic veid wain (Stiog ags Ci)
I inwelkes defaut eaustuctr
Box sbi 2z wew Bo(-0, 3.04-o);
ddauble well, val 2
Iwakes pouaueteizl
Crwatucy
cdon May-miu
publ'e veid tiud )
Suauma se weuo Seane (Systew. iu),
n3 Sc. next Dut CO;
iut all -Mew iut ];
wax a [3;
las Mat-win-fiad
pubtic statie veid wain (sing angs 1)
fage -)
"DUTPUT
S
Eutu te
81
22
Mariuw eleweut: 8t
Hiuim elveut :s
ut ell;
Vd disp-watks- scC)
vd disp - mank,as )
Systew aut.
cla Minoudhy
puslie static veid wain (Itriug angs [ 1)
Seieuer sc Mew Sieuca (;
Ats a2 Ww Arts ();
vrid
deutola totseoe
public vei& put.seoa )
vd displaq)
tot. sco wahls11 maka 2 Scon
put-rell ();
put-mank t)
put-seo ();
Systuu out. iutu ( To tad aca."+ bt-scan);
clan Mulipleaheit
he-qtll (ise)
qet mandes (41-8, 46-4);
Ral No, 1 3
Marda obtained:
Part 1 manks 42-8
Rat 2mants 4S-4
Spons s Loe 16-1
iwgalig dee package.
packag Shape
public elan 'eircle
pubstie double anta Cdenbta ) paekage
double an',
pockage Slape;
puklic elan biuge Dbingle olan wnde'Skape
pusu'e daukle auta (oauksle h, daubla lb) packoge
dekle a
A8S*A* b
etu (au);
poclcage Shape ,
public clan Sauae I squane olan wd 'Slape package
pukilie deable oea (deulale c)
potkog Shope;
pteie daukte ata
Ictamgb clao uda Shapa' pasleage
ldeulle ,deukte b)
daukla M
tuu (ar);
Packcage taleulate
tupont shape.
ela Cal Area
pblie Ltahe veid main (sting angs C1)
oloelsle aac C. anea (C.o):
OUTPUT
ArLO cirele 78
Ava thiaugle 6-0
Avea o uetongl 3s-o
publie staic vold waaiu (Shing ang (1)
cha eh,
iut i, L;
Euteu a shig
ShRiJaTa ChAATeREe
sHIfAtA eHaTtEaJe E
oge-9
lan NtwThread enteuds Thread
batck (IutewuptdExaphau e)
3
fystes sut piatalExitiy clildoreak ^);
clar bxteud Thy ead
1pustie tstie veid wain
"hyead.slaap (ro0o);
atch (SsutuuptadEsap tsu e)
'Syetem, sut. piuttn (u uain tread dtenpted.");
0UTPUT
Child thveal : Thread [Deuo Thread , , wain]
Main Thr ead !S
Cui le Trto 2
(CENTERy