0% found this document useful (0 votes)
39 views4 pages

Mock 2

Mock java

Uploaded by

Pranjal
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
0% found this document useful (0 votes)
39 views4 pages

Mock 2

Mock java

Uploaded by

Pranjal
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
You are on page 1/ 4
Rong Aaloy + ak BING PS="_» 5 gumeo; count=05 } EGS 42 : yeh of dum = um+$4) —— > count = Count FS SEND A wa= Som Count =1)5 Cog soy z print C* Average Aalany 4 “oy; elea pant Aresage Alany t on a | * Pioc\AvenayeAgcof aunyer * Aserchdauoyer ByNome | import java, to.* | import Jove uti. *y ~ import. jure text. Inport Bu, molly 75 ; Import “fans bls regen.” 5 paki aie Rulon i pic: staie oid min C Mang PT. as) 4 Seam Ace nus Seanney ( sLyplomn. in )> Into N= deanentant OF dowyor CJ towwyers = Nw awyer ny; vie fC Cent te 0 5 Cx uoyers. login 5 Ltt) f int the gc, mt Ont O5 So next O° t Brainy. name =.3c-'nethine C5 clpuble Balony = &c. next Double Oy" Tb ages AC. MuxbAt Oj. RCo Nectdine €) 5 : i lovcyeas tiJ= nial fowryor Cd, nome, Alay 29) ; zi: tc ea ane yen ia a NR TAS cee Aeen al die 4 Q [| Saw yus 4} public int 5 - Public Shing Name; Public double saleny ; pablre int og 3 Seanyon (tnt Ud, Shing neamw double salary» int-oge) f, Hhige iol= (lj {hie noume= nome; Thiol = Salaoy 5 \ 2 Thi = ony s og > dwdle ovg = find Average Age of Seanyor (Cau yes) 5 (ong 0) Tio (Average of ge. + 24g )j else 4 greet pantin No Lauyer fours with, amurbionsd obit Shirg nm = 8c. nexthie C) > dowyer tw = AanschhaunyerBy Nunie ( teuagers tim) if Alita null $ fe out. intl No Lawyer und ttle, oe : Z mantioned oar "ys eet Spenseat pinta” C4 Lo 95 ~ dyptom. out spit in (pate ho. getnume)y ae youd pale Cgobaryy = 74 lw» Salany)} y ena W Crop ese ae “file. slebic double findAveragemAgeel foyer (Lawyer (34) “Unk count = 9) i totble fot =o, omg 07 \ for Cont Ce 0 5 beds Lagth rr) fot = tott ATCT. Age 3 Count +> ; a tot /count ; \ iF Cooont == 0) ‘delum OF ‘S dss J oes {fins Jaunyer dered feydy Noe (Tauyin C7 o Shy nad 5 _ Lawyer Lid) £ ; e a rE " iLL Nene, equals dyneneCone Crovme)) $ or joke Menge s Wey gf elu null j p Ayo v : (oe <7 public stoke Lowy sunt CAoweyorT 39, Shing ee) = wll; eta 0; ixd lungth 5 ta) 1 (dec J pom. apa paceman) t fow= AUT Ci (\aw== null) : acon wi: | ae ee Re eT mdm ow ne }

You might also like