0 ratings0% found this document useful (0 votes) 205 views8 pagesJava Programming 4th Semester
SGVU Java Programming 4th semester Assignment
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here.
Available Formats
Download as PDF or read online on Scribd
Assignment 1
Signature of Evaluator
(Both the Assignment for the Subject to be Submitted in same response sheet)
INTERNAL ASI GNMENT < ag
ky rkte a jae Program ty Fond the factorial of
a ees) Auembere tik
FAO Ponporet rave. wtsfo#}
Publiy Clay factordal
Publis sete vad man CC
SS Cannen = new Coonnon Céystem 2 OE
Sed n= S Commi Pr (
pete fort — ff
mange)
Pan g= 4 1 th)
$
Fok = fac xi}
2
Stam. out Prdinttn (fo tionias of” ausakan “SDyeu Con Jurform the founding totK Auch ab So
Code
a) Verifying the Inte Code,
8) Oa tong the Ingle og ——_—_—__
different Paste ObKe - ©
= Ms Jvm Cou clade feed
ce tat League) Mersrey men £ Cveeutshs Enguge
Class (vader
Sot faa pont of jvm OW Con Dodt the JOowd
Picegrom ete avo boy, Code Wn tho Mematt i
Mamenrt frrea-
SE -
= vm hos fe ffarent Mematey arcdos Like = C Jax freee,
Ineo) aneo , atk area, PC Keactior Klotive Method
Stack OTTO
*) Chats fren.) - sf ds uteq ty stone the dete) Prone,Pee etan te Converitog the. a cade to
de _aceanding to sho focal Mochéne
A) Bae four unchorkeo| Ene epteon P ;
— Ange Gre unchecked Excepken %
Jra\Permter Exe epteor
Jan f Bro. ade yrephen.
Sip) SG xce phish
2 capteoh
BY) 1Ohy Java % mot log te vbyecr a! Conguraga in
Ang - Jove & Set fila Ob ot sterented becaute
a tt Cupporeds pvimiiive ate typ Ophe= bute, ong ate wh
ont mot obyth-ondented Hats why yaa Ay net
Go) benef chsect areronted (ong uote .
©) Apple with applicaton Progcams PDaE Cente nds 7 von
—£) jvm YP
PWS= Jum Hands for Jove virduel meaokine Oks
2D) Abe mackme SC Apecifroardr thot Preovdde
anvere 4 wee uw tent) af bryto Code -
= Ju Can Perforem —the —foewing ter So
%) tooo thr bye Code > _
92) Verify the _loyts Code + :
ete bye Cocla-peng 3
eH ak titers defined ox Ciumtam 2 cept ton
TGrepi fuse delved encaphen Yn own,
Cjarr wig Prce pti on tends Eyce pitor
Sretyy stra: .
My Exception Ceteiny (1a ¢
Cris Ctra}
2 ae
Public Cisiny toSteing
etnctcaey (bint a caption accursed Yt Sted
¢
% ieee
Clas Emomples
public Matic werd mein (Ciedng aryl)sy With o freqcom ween clefine onceplion handling « em)
ta hendle murrpls Cate, bisck foro Ttthed tr loleeh
Erplain itt, on gnample P
AWS ~ Comitimey ct of Statement Combined Coq trot
Sy _Arffarcent types of ornciptton
= Ny usher Pro etiena tuna ance ¥ pen Coreming efeved toa)
WAHEED a pooh of the eloment ef astro tho bte
Gs, a poe ebility sf get _frcnoy inden Qui(f Rounct Porcep bon
abt tech x we p-fe one .
Peeqrcany
Public class MurtepleCaren ¢
Public Static void mon (tring arcq cy)— zs Ff
Corn Aretthymatel xcepton eet
Artem. otet. fretotty (" Can't chéveole by sorte )S
ee
u
rs.
s
Costin (rerayinden Oui yBoure Encepicon 2p’)
2 7 A
Peycow sed premily (“No _mesiehing plement found’ ),!
g gQ
Tm
a ae
A=8
A) What £4 On adepter fart © Whar Atniticanes QU
=the adepien Cla TP _ ’
AS = Jawa adopter Claet Provide ther defour Enplon ente teen
By Jitienen “trtenfoace . 94 Hou oben dh “Whe _adepter —
eth Your util net forced to Provide tie Purplen
ef an ~the rarrnedt Cf Lininenr “tntenface. 46 &2) Ms axorchy for swing Component e
aw Luseng Components ff tus ontainment besa Wye
—— ee
=o fecame pe main votodotd Tata (eae
= G@ ponet, Gomarmet Coled o pane (Sfonat)
Bo beeton (auton)
Beate) | ilobe § e
©) Hew doer yore Aupports Enter thyme ad res
Rut loien -thyecad Communication OC 6 mechamn Yn whbel
a thread og Posed eurnntng en ‘cls Crptdoal Seowsen
__enction “thread Ob Alle to enter tm ths ame Credtita
___gectten +o be esis a4 DR ply ented toy Potlevsdoy
methods Such ah?
a) wertl) ) @ netetyc) CA notify! Oy
@