0% found this document useful (0 votes)
29 views25 pages

Intern Java Notes 1

The document discusses various programming concepts, particularly focusing on methods and their characteristics in Java. It covers topics such as method structure, variable types, and the distinction between static and instance variables. Additionally, it addresses the importance of method inputs and outputs in programming.

Uploaded by

Sana Sana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views25 pages

Intern Java Notes 1

The document discusses various programming concepts, particularly focusing on methods and their characteristics in Java. It covers topics such as method structure, variable types, and the distinction between static and instance variables. Additionally, it addresses the importance of method inputs and outputs in programming.

Uploaded by

Sana Sana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

OJ jjl. .?

G
j'f t,a..Jh cd l, p, l."~1(11Y1?
- '} -ti p.,C'(jlWY1 i~ 9-ept,,rcl to n, tlAc ~et or 1n,Hntcti o0, lno.t i, tW1 q
it' 1'1'1C\kc the. tompv_t{ \ to pt."-tl'\\(Y} a. ,srHc ipc IJ,!O.\V__
J•
IAlhnt ts pj,_OC)lC\!Y)minrJ Lct.nCJLt. Jt~e?
- 1
p.,..agHlfY1min1 l°'-n9u..o..9e. ..iJ A.tpu,..,d to o..s the st.to, 1n\tn.1ct1ons
lhet.t cue u~e..cl .:tu ll"'!YlmLlnit.Cl.tt with tht co!YlpcLt u to ma.le
\he_ t0mputt \ puro.un .o. spe.c.ifie, :to.sk-
~'f l.xJ 1h ct t i& tht his tmic.cd back.grcu.nd or ~OC) lClmMf() (a
~
Mach1rie..'D
01- o 1 1- 0 I
MLL
te..ve.1
~
La..r\.g · - -
-
npn pop
tUB
-AS ~tf\.'1
APD ov )p
-bUJ tom-pttn
ltve.l DfV AlL ~ e. m bl<"Y 0 s
LC\f\g. j MUL I - ---- -
I~
[oropt1,,7~---'\
11,gk
1eve.l
+
..... --
umg. "' MLL
I
4v I rAlho.t ts o.o nsstm.b1e ~ ?
- ~ r l'\n ctssunbl t\ tS Cl so~tl,UC'lH !Ath1ch he.tps ti') t.onvo1.'.'>iori or C\3SUYlbty
ttvtl LC\NJLl~ t toclt to N"\tlchine 1ev-e1 Letr>1Ltet.1e
'j', l!Jho.i i~ CJ._ lOl'l'\pilo ?
~ '1 c0Mpllt'1 i~ c'- ~o~tWC\.U which tOIWQ\lS h\(Jh ltve.t lC\nt1LtcuJ t
t.Ot"le.. 1·c fl'tOl IA( n e le\/ e. I t O.. n~ ltMr •
~ 02. It 2.3
v:-
~ I pl'bg1cuY1.mrnq FtLncLCt.mrnto..tS
~ ,------- -- -=====-- D - ~
, ... WhCLt OJ-L tht. clif-ftHnt impo1to..nt me.m.onu o() c.\ Lompu,h1?
~
---}
H~ODJ Ma.!OM.eMll'.nj w-""! n tJ.JhCtt" i.J CLO Oi:JjU.t (
Pnl'/\CW] fl - -
An ob}u:.t- ;..s cte...iint..__d clS thL rut/ woA.ld U"\bi:hj 1Alhich hru 0.
~ ~
t5V ~ ph.~SILJU'~Ste.IXL·
o t-ion
11o.lruiLC.
2) ChLap
~y v,..\ho..t i.i o')'"LU\t"CLt-ion?
OLS. -An cu.iwt;a.,tion is c14lne. .d ru the._ porspc._c,tivt, ot w.n~ ob toot::1n1
1) i;10~0
9J liUlty Ct.l J -· - - - -
__in_c~
so~e..._th.:
StmiLOncLL' - I U-:: . -- (l., IAtha..t '.u Obj tCT OJclQ.J'\ta.tion ?
dlV1lt -----noi n otog ~ ___ir:_~;..
i:-,rc.. c)evJ'ce . Tht. ptAspc...c.t-lve.. --towc.ttds a. .M...OJ woA.lcl rntib...J is ULLILd cu Qbjtc.t
St.miLOOcllJC; l<e.g 1.1trr ~
~ o,__1tn.t-a.tion.
ltchnoto~~
e>le.vi·ce... Gyrc..
4~ Whclt" nu_ the, p.t...inciplu or ob[LC.t oi-.it.fltCLtion?
~ Thut.. cv.. e S" irnpo.u·a.J\t p;JncJp\e..r op ab}u:.r ori1.ntettion
=1', ll\.thy l\.O we. have. mu.Lttple.- rnuno110 on thc wmpuln upta.ln --- --- ---
Thtrt 01 .u o. bO.SlG ucpe...Ltettion op the. P"-oqrnmmcr trol'YI tht
- ~
~... P The. t/\..lO-".ld is Q. coll t.c.ti on of) aroj le.ts,
---l
Ji EVL'-LJ objtt.t i..s l.,lSt.r,ll cmct no objut .l'l Ll$tl~.1.
me.h'\O'n.\ c.ltvic.e, th_o.,l is __
-3} EVUl:J obju_t .u u.f)c\tr wn,t.--crnr intwc.tc.tion. Non oQ tht object
1~ The, murn:i1 cte.v\c.e, musr bt.. ro..st /
h _is OLC:1.. t w.
ft> rht me..rvio cle.vlu, must bt t.0mpci.ct
( Vt.\.l) ObJLC.t be._toncr i:n a.. tLjpt.. Cl.l'\cl the. tt.Jpt. in obj H.t ownto..
c_11,
1
Tht memo, cte.vfct. mwt bt non vol.o...t1 le..
r I~
~ <H
- t ion <Alt cC'lll i~ l.! .:tW. c\a.'.ls . <'..\a.ss ctou n.ot tl1'1st tr\ JJ...a.l1.h!
iv~ Tht MUYIO'n.j c\eviu rY\.UH bt. 1e.ss e.ipwsive..
it ts JLLst rw.. t:Jt.utp"-lr\.t
S1nu. ell\ thtst bOW N-.9L1t.wv1rn.ts c.annoL bt. SQ.ti551td bLJ Ct
~
::+-:,
$~ tllL\.~ ~bju. . t btLon~.5 "RI el... tcjp-e, h.ru SDfY\tthin~ a.nd tvu,y obJeLl
s1ng1e. ru.e.mo1 unit tAJt hc1ve. 12AM to ta.ke. c_CQe, or spe.e.ol ~
-~ ctou ~om U;IAi.nl
CLn.c\ (om_pctclnts s ( hc.u.ct&.isk to to..kt crue. or f'OO \1olatll111J
~ 'The...
nru pcu.t JJ ~presente.d u9ln.'l the.... ctet.to. type.. ~ the. ctou
~ e.'1:pt.Ose. . ~ ?eu,_t is up"-1..Svi.tuf u.sin~ Mtthools.
~
~ fl/ tAtho...1 o.>-.L th t cl1Hn <:.nt ptU.O'\-":, or ob1e.cr o~ltf\.10..tlon ?
, TI --
-l Cbilt.( oi,,,1tnto...~1on,,_h.a.!ltn~ 4 impo">t-o.nt piLL0.15
! I- snc...o..psu.10...ti\Jn'.
tt M...\U 5 to tlAe. PJ..OcJ..SS pMVld..in1 nr
St cLLUl to the... most tmpo.,__ta.ru componu'\.t or C'J.J\ objnt .
lAlhclt i~ the. s~n to.-x. or> cl mtthod .
~)I -A mt..thocl j_j "-LPHSt'2_tct..el cu thL c;Lt or quou, LAlhit.h (('.)(\tCLl()
te..,, t-cti n -t.a. s k.s trlQt m.tts t be... co rY\ p1..c..t e...d .
Tht &~fltO'll ori tht IY1t.thod o cu rDLlDUJ&:
MHhod .stru.c.tu:re.. · i
OLLtpll.t no.rM. -Ot - mt..tkod Un.pu..t)
~
LOCJIC.. op the.. N1t.thD cl
r
M ttt,u)cl st"-Lt.C.tLUL - ~
utLLtn_tLJf)t. nam( -ot _mt.ttwd ( PClWmLtt 'I')
{
LO CJ il. or thl me..lhocl
}
~> tAlhctt Cl\.t. the. ct.iHt.\..Ln.t- typu ot metrt\ocl.9 tf\ Java?
-> 1hu.e.. cu.e. <1 ctir~Ot..nl tqpu or mc..thocll If\ fo..~
J> Ml.thod !A.lit hoLLl 1'.npu..t ~ L,\LithOLLt CLLtpu...t;
vo lcl dt.splo.,(Jt) {
int Cl - J O )'
mt b • ?Oj
in. t c .. ct t b~
s1.pttfY). oLrt . p1inu. n ( o;
r
~r Me.tho ct wilh tnpu.t_ ~ no ou..tpu.t- !
VOid displ, C int a ' l()t b) \
i.nt c:. a.f b')
.s~sn. m c.u.t. PNf\ti0<..0;
r
011 l i Q~
jJ> I vuhClt .;.s LOc.cLL ,1ruJCLloLL?
~ I f LOC..CL! \lO-A!ctbtu Ct.U lht 'llCU..tO..btu th.cLt o..,_e., e>.LCLte...ct wt thin tht
mtrho& a&. tunc.tion OIL tht, bLoc.f<.,
- --
.j( lou:d vcwa.bLU tA.Lltl n.ot th L 5-lt clq)cU,LLt \loJ.ue.s a..s th tLJ_(Lu not
a..n oc.i Ct.-l e...d
¥ LDC.OJ \.ICLJ-.,.iCLbleJ c.u.LCL-tso c.Cl..UU'! cu ru...nt-tiof"\ vcuiO.bleJ oJl.. tht. me.thod
V W-i Cl b1-tS
- - --
t Lo Utl vw.lo.bte...s tAd 11 3.:.: th,L rv1e.mol aLLotCT.ttd in 1he. sto.c K sL9me.nr
'f lhl sLOpe. or lOCCLt \ICU.IClbltJ U ,t1m1't:e.d to lhe.. t7-tnu--fon 09'.. the..
- -
btoc.k or the. me.thod tn wkkh it i.s c..\.Q___cu:LC-1 .
J!:l> , v1..tho..t ls ct stet tic vru..ia.bLL?
I_ - -- --
- -) I ,r A stcLtle, va..LicLblt. ts a.n tm.to.nc.t. vo.JdO.bLL whith ,.i..s a..s)ot.tcLte__d tAt1'th
-Ha.t(c., kl':-}l-UO"-.cl .
1< StCLti'c., \ICVl..{ctble..J l,\,l.ll_~_j t t -the.. cre.ra..Lltt \tO..tL,IO atLOULte...d.
., Stettic.. vc.L\iClblu a..,u not tht tonstcu\t "a....\.1Ctblu "-(Lthv.. tnt.
me.mo>..~ lo' stclt--jc., ~CL'l..{CLblU t.U1ll be. 0-.ULte..d Onlq one.~ .
"' Static.., \'CL\.iclbltS lA.Lill 9t.t t-he. m{rf\0')~ ct.llOilltLc! tn !he. static...
s9mtnt,.
t;'l0.l'i1pje. '.
c\as ~ Ccttcu1.o.__1:01-(.
in t n , 11 ins ta.o LL vo...'Yl C\bLL
in.lbi II r:v
tf'\t c..; 11 1\J
\Io t ct c.ou e..c. t D et.iO. l) -{
Cl:o j 00 ;
b~ .200.,
c..:::Oj
'r
~
r
pu.bU c. c.tass Lct.unc.h {
pub Li C. f, t.cLt--i (, VO id ma.in ( St .\..in.~ u cu...cp )
Oog dls nu.0009();
syste..m.oLLt pytnt\n (tfj l"lctme )j
1-
S,o .p C.di. bre.e__q )J
s.o .p c d1. coto1J_;
S ,0 .r ( cH · Cl9 0 _;
s.o p (dJ .c..ostJ__;
S,O. p( II -~-- - ")J
d J , oarvi-t ~ ,, 12oc.k.y n ;
d j ' bi u. cl " ,, Cr R II ;
C\1 . ('\.C)t ~s-
c\j. coto-r =- "brown ' .)·
dJ . LO St"' ruoo . )
s yi.ttfYl.OLLt. pnntll) (ell ,f\ClNH) ;
S ,o. p l ctt ,bHt_ct)_;
$,0 .p l cl i . toLo·I) _;
~.O,p{di · a.gt)_;
S,O pl Cl! ,tO!)t-) j
S,O.pl"----~J;
cti,,ufl() j
Cl l , t Ct t ( );
I
CH Slu.p l )j
SqstuY\. ouL p->1nt\n ( '' ""'" ='" ff J;
Dog e12 - ntw oog o;
SLJStc.m-otLl . p1i ntln Cd 2, naJYl q i
S, 0. p ( li'.2 bHt.d) j
S· O. P ( ct '2 • to (o 1 J j
S0P(d?.o..gOj
sop(d9,costJ 1
s.op('- '') )
~
2=
d2.-'-Llllt)j ___:'ICP_':'.:ln PAlmiclve. DCUCLtyp !J a.tonCj <,U-ith (.tJ N)n9c.5
ci2 1'...C\.t( J j _£_;...imitive. ct.cu-CLtypu'sOO;{) ~ t . c.a.n be. c..oJ.c.LLLCLte.d bd usincl tht..
d2. SlLtpl)j bO"-fYluLC1 -~,H ~ ~n-J -~1hne.. ~MpMSLnb no. o, bi.tt.s.
The.. d..i~ff n .nt p.im1tivt ctn.ta..tLJpe.1 rue. t
~ 'Jnt;~~pe..ctC\. .t'~
i) B\jU - ttYe.. 0ttupi~5 i byn or~e..rno~ · Tht -"Cl.Ole.. or the. byte
------
Mt..rno».y 4tloca..tion Dic.i..gJ..etm t')"I" py-oq1cun ls -J~li t1) Jl'I-
= _____
Stack, +1LU.f i1) Sho-Yt' - rt oc..cupfu .:i. bytu Of me..mo1·l, 'fht J...Cln e ot- ~no1t is
.~ 4
-G2,%'6 to 3!2.-%'!-
.~ ili) tntt.C)U.- tt- oc.c.LLpiu 4 b~tu ori me.mo-'111;1.~bt ~t~e.. op ~f\.:_tCJU
-}
"1000 DOCl -, -.. -----+--- ts -.2L<'.114i.3'=>411 -a, QJ4H8T4=J-
- - - - .~ i\l'r Long- (t- oc.c.4-p1' e.J 9 bytu o[) mc..monJ~ ~~e. or Lon~ iJ _
-l- di I;:;::;:;::;:;;: II ~
- -~ .1~ Ru,..l nu.mbo DJPl. cLa.ta
----~ i~ P-tOCLt : (.\:· OC.Cllpiu 4 bycu cp fYH..mOM. a.net ~1lll0\).)~ tht IEEE
- - - - -r ~ - - - - - + - - - - - - - -St-o.nctru..cl or ~p're.Je.fltO..tiOf\
- - - - - - .~ ih OoLLb\e.:
C,0-00 Dog
tr- oc.c.1.1.piu II b-y r-u -o[' me.mo~J and 6tJLtoUl.S LE-E-E
fH.liYlt
fN\I~ fomrny st-ctn C ' . ~ 0 \') Jce..p'Y'e.H.0 tCl_ tt
_•_v _n _._ _ __
- ~
~- f"-lu.tf v.ihit'- t-----~'~ - ,-
brud jN<1ll pug ~'r thcu.a.t.w., t':)pLcla..t-o. : t.n (fn.v-et chOJ-.CLc.to. tl.j pL- ct.o..to.. oc.tLLPIU !2 b1:JW
o..ge. ID ~ ~ tt me...mo:, 1-e. - -; lt c.onw.tn.s the. c.a.pc.t.c~e . a.crnmocln.tQ.
tos~ ~VD ~ S"J, '5"'3f, c.hCVt.ClCte. TS ( jt' t'OIIOW.S UlF -/1>"lmCLt "Df1e.pn-1e.nta..t1Dnj
I ~-~ -
I - - . . . - - ~~ = = ~ . . > - - - - - -~
t ,n ~Dole.an typt..cLcLtCl.t t.-t-1,o+lll-W¼--UTF--\OYfYlect ()~ ~"f!'KA:ta:tlDfl)-/
14'r [ Who...t J l ct DCLtCLtl;) pt.'? ---=-
~ tt- "-e..p>.e...srnrs f'Y\..le../ PCLlSe.. ,'jU/NO llJpe.- or, ctCLtCI
~ -
'1c.Lc1.tc1.tt.Jpe- iJ e1q1ne..d ru tht.. tcjpe., to lPhid, o. pcu.ttc.utru. c:~ be.Lo~ ~ - Ot\\H
+-,.
~r ~ -- j:\-'7 IAlhCLt i..s h..Ht c..ctHi n~ ~ IAll,a..t CW!.. _;_ts ty pv
-~
~ ~Pt-
I c.a..st\ n1 ~r,e..ts ..to -the... P"°u.ss ~ c.orwutfn1 ~ne... ~<J pt. o,fi) c.Q.o.t_o.
! Sl ) IA.lhClt ru.t. tht cllr{e.H.nt i:LJpU of; d.cttetryptJ in '.JO.VC\? -~ ---- ~ o..notnu.- :ty\K or ct.cu-a. jn Java.. ttjpt crt.Stln~ 1.1 ct.1v1 c1e.d into
~ - -~ -
-1-j Tht_ ctC\.lc.ltypu In JGva. is c..lo.ss·,pe__cf 1r\.to -two impoito.nt w.te.~nYiu .......,._;J, _ __ _ _two~pt_s_·_ _ _ __
l'r pYimltlvt DcLtn.typt.s - ~~
~Lie.it -typu.o.stn.9.
2> I\.IDn primitive. Dct..tC\..t~pu - ~
---~
' ~
- \. - - corn?i LUv \/l.5 Pn tup
) t-t~ r
wmpltcw;n, -
r pYD9rnrY1:1,Ja.va
P~qra l"IIJ uo 5S
"
-- ':f C\.V(I..
1----1 h ~
-~ J a v'l"lJu ~~a.rhine
to mp i le r U.C\.1 H
- . Ma.ct,j(Y
r Lt vtl
lolJCl Wd t c.o cte
KLL
}LL
MU .
.- _ _ _ _ __, _
Rf\ M f-- ? MP ~
- - -1--
Ou tpu t
M\c.YU~\'1lLl% D1
ln tu pnt-Qbon:
P~ 1 t\l'f\ i -jC\,VC\
" \
1ClVD,__ ~ C l ( h1ri e.
-r-r,~~ ~
LA rie.. ~a.c.hl f'\e. L.e.Vtl - --
c:octe: -1 -
HLL
·r lLL
. -
--- --< >-- --- -+ - -
RA~ 1----1 tvl. p __,, o utp u..t
------+-
MIC.VD protrncn
- - - 1--
----
_,i__
..,;
-- - --- ------ -
as long 05 - > ll\1h1I<' 1oop
--
-31 c'lptaJn ru tone~ a, toop w1lh an Lro_mptc.
- t--- -
I
---J ~h\te__ toop co.s ton~ et.i 1oopJ
S \J ntO.)C ', ini ti O.ll ZCLtfo n ;
-- -
1Afhirt (c.uncUtiOf'\)
-
{
I - --
- - -· to_g1c o~ thUOop
- --
-- -
~ rn c.:rr cl u "f
- --
r
SLqLltflU O\' t'XLC.1.LtiDn :
1. 'In i ti ct.LI ;z:0--tiO ()
~ - rnnctit1on .
~ --
~- lO()IC... 0( the Loop
-
4- lnc...'f / dlC 1 -
- -
E'lO-IY\Plt.-: pLLblic c.las.s coctu {
--
pl)._b Li C EXd.t \(:, \IO i ct Meli() L Stri. n 9 [] cu.cp_) {
in_t- t ~ 1; II t n i tt aJ..t z.a.tion
White, li ( :cGO') {
sys ttm. OLlt- P-"-( n tlri C. '' A-tt the.., but te1 te..a f(\ jOCliCl ");
C+t _;
}
1
J '
--
-
4~ t:tptcd n c.te> whi fe. Loop Ko..!t-h 0.n uampre .
-
----, fue_
cto (/\_thi 1~ toop i..s thcLt:,
The__ s pt.c.1 oJ.t .ty O(} tJ\.\U ptc.ti \ e op w.ho..t
t-h {, c_.o n c.U ti on 1s th t. LODp !AUll t_'l(:LC..LLtt. C'ltlt..C\.St Q()L ti me,
- - 5 y f'lt:0.X ! t nit-1 o.l.i ZCLt ( D f) /
~- -
do {
-
-- tog It ob tnL tocp
--
C4 , 11 1 ~'.3
--- - --
.. pa.ctun Pruqro.mm ,nf
-- -
I ~w/2' : -
---- - - -
:----- l't I EXplcdn th t l)C1mincJ c.onclitioru -to, pact-:09~-"?
,___ ~ ~ m inq o_~ p a c ~: __ ..
~ om. bLolrn . Javahcllnin ~ -pctttontoc tu -
Lam - -- '7~ mp~
blcltel __ -- - ) ~tmt or tht e,0mpan~
:--------- 1--j_o_v-a
_n_a inin~- -- -> ~ DJlCX __ _
_ po..tttrf'I Co cle.S - - - '> pac k.ct.9e.. nClmc- - - -- _
pa.tte. rn p rog 1c:U'ftrYu n f
pQtte.m 1 :
l- .
public... e.LC1..~ po...tttmi {
pu..'ol\L StQt--lc void N\.Clt0 ( StJJ ng U Ov\.<jS) {
--------+-------- - -
s~st"uY, . oLLt . p-rtncif"\ l '' l' M); _
r
_r -- --
____ ___ __ - - - - - - - - - - - - - - - - - - - - -
- - -- -
pa.tton Q. '.
- --
-je
r-
- -
'f
-- -
:\'.'
f
- -- --- -- - - --
publl c... c. tc.ts s. pa..ttnn '2.. { ._ _
---+--
publ\c., sto...ttc.. 'lOld ma.In (Sllincj t1 Ol 95) { _ __ _
i01(intf= 1;i< - ~i1tt)-t _
~
r: .. - -
pCU-l tln ~ '. j
1( t \" t ,t ro u:, ~ lOlL1mn1(SlCU.5)
(j
-¥ttll---t i
:: 'i't-tft ~ 5
3 5
'II- 't'-'t- lH'
4 5
.. .... ~ ~t
s 5
B u. ,~, hctvt two rntitiu we• Lt.St ..,_ toop s
bLiC. tlaSi pa.ttu_ne, {_
~LlbL!C StO...t1C YOicl met.Ir> ( St.h.I ~ t ] CU..~S_ ) _{ _
t D.9-- tin t- b i j I<.= t; i ii // .lOtJJS
-
,{
=I fo"l ( ift C- j =- i ~ ] L = S ; j t f J {
-
s~~tt.m.oux. p~ntt•~d)j
- --
'r
SLp ttrn . o u.t . pYin tt I"\ ( ) ,.;
'
(.
r
J
;:
-- r
~
po...ttu..n 1 :
.. -
ti1.11
~~Q..;)_~
33i33
444 44
-
51'5~ F56
- -
pub1le.. t.tQSS pa..tH,\J1if-{
:: pu.bL-\t., sc-o. tlc., vol cl rna..1'(\ ( StYi ngcJcu_gs){
fen l Int f ~ i ; i ( r 5 ; i tt)
''I nw.s
r ~ i ct:M -0 Llt 7' \ifttt"H-•)
-
{ fD) (.\ntJ =1 j j l"""S ~ j t t ) {
- -- --
sy~re..m. DLLt· pYlnttff')t);
r - -
~ 'J.ilw)_._0 u:Lp nl\..t to LJ;
- .r r
\
O<; IL .,,3
pa.ttur, Jo' -".OWS 'itOYS
-==- -=
r , " ll t 1. '3
r 't t i .;)_ 4
t- :r l' 3 '3
t l' 4 .,_
f. cs- j_
~u.bue, c:Ja.s.s po..u:un10{
l
r
public st-a.tie, llotd main (Si:-nn9 ( 1 COtg.s) {.
601' ( i = i ; I ~5 ; I +t)
{
fo1tj =5;J~l J',.Y,t,}, j- -)
{
11
s~ste..l'( ).ollt -poir\t l' r );
~
~ tlm. o u..t . p-ri n tln ( );
-~
}- - -- ---
_Jr
J} WhC1.t is c.onct.lcioncd stcLte.m e..nrs '? lA.Lha..t etH.. cl• ~t t-re.n.r c.onc11tiof)(1.
sr-cu-e..fY\c..nrs thcLt w~ h.c\.ve.. in, Jo..vo. .
-------
__, -it- c.on.ct1 tionoJ stC1.U... fY\U\tS Is , e..te. rre..d
to Cl.S the sta.tUYle..nt -thcLl htlpJ
to t '!Ce..C..tLte... o. pC-l'l't--( uLtet r s Lt op 1ns tn.t.t ti o ns bo.H_d on a_ spt.ti {1£. Lof'\ctirio~
tn Jcwa. wt. ho.ve.. ~{)l,n ~mpC>'-.tcm..t' c..,On.clition.o...t $to..u.lY'lent5 Thty o.u :
n· tr Lon c.Ll ti 01,
--+----
2.~ use.. i~ c{)nctition .
3>- 11..tse.. c..ondition
--- --
4~ sw t t c.h C.QS e.s .
-- - -
I ~~!U.. m . ou.t. p.>Jntt" - '' J;
1
t
-- ~
- -
s~~u. .m.ou.t p>--intlnlJ;
-
I
r -
-r
L - - - --
-- - --
pcutu.n tG: 1 ~ 3 4 5""
- - ~ -·- - - - = .--- -
c; :t- ~ 9 10
- -- - -
-- !:I.
1.2.. i3 14 i S"
- ---
H, n 12 jCJ ,:\'JC)
-- ~i ~~ 6) 3 ~4 &5
pu.bl ·, c, C..tQ.SS pa..ttuni 3 {
pu.b\,('e, StCltlv \/0 tel fY\..CUf\ t Smn.~C] Clrca.s l) .[
-
ttr,,{ int twp-= :1;
fD"- ( Int [ • l 3 i <=-S j fff)
--
-l
-- - -
to'r t l n t J "' l j j <- cc S .i JH ) {
-
syst®.ou. .t.p-n' nt t n. .mp);
- -
LLt .
sys nm , o \Yn n t t • II ) }
-
tunptt >
----
r ---- -
I-
SLf S tHYl . Du.t . po1'nt\ f\ t) j
- - -
\,
'r
- -- ·-
r - -- - -
pcutu.n -- J 4 : 015 Ol4 ~3 ~~ ~i
- · - -
-2.0 19 H Ft l c,
---- -- -- -------- -
l5 14 t3 :1,1 .l1
---- -- - - -
1D 9 ~ 9- s
·- --- ---
-- - - -
~ ~ ~ 1
----- ------ - - -
publr c,, c..tct~S pctrtnn I ~ -{ '
----- -
pubuc.. sw. .ttc. 11otd ma.,n t St\'\f\gtJ ro...~s) {
- -- - - - -
~
Nott.: f\~ sttf) in \ht, cttlOvt, se..t Ot p>..O(JlC\.mS rtu fnpLl\1 C\U t S{tt
Stcttic.CLttlJ g\vU) C\S a pc,..\.t U(' p;._ocpctm tlHtr 11..1hid, IS not Cl
"-ig\J\.t nppJ..oCLclA . He.n(.j_ v..rt must ta.Kt. iht inpu..t cLynamko..llti tA.llrh
i:\.-u.. nup oc, tk.l bL,1..Llt Cn c.tC\.S~ u:tLttd C\S fut .su:u1J1u. ctctss.
St.CLnf)u hQpptrn to bt a. bu.i.Lt in c.l.ClB in~; d{ tht. JO.VO u.tti pet.c.ta.9t.
!All IYl.lLSt ~t, C'-.LC\..tln5 tw_ Obj tc.t 0~ tv..L St.a..nnL\ Ill DJLciL\. to u.ti.lile ill
-----
P"-'"'l~tS . -
1hl "c "Y\e..tlA..oc:ls .t.n~tc\ e... tW smn.ott 1..L'l\.,.ulh {_a.f1 bt.. u.st.d ni
----- --
t Cll<t 'l t,W,. U..5W ru_e. : '
~
--
n "'1e.':X..ttn.t ~~ Kl tXt ~vOCl..t" ()\- F:H.'JLt- 0DLLblt <tt ntu Qiy tt S'lntxt ~men
-- -- --
-- --
Ii- constdu...- thL ~OlloLulog q_,;ca_mpl~ whVLe.- wLwu. . ta.Kin5 tht. inpu.t ~m
i\At. u.s u... rn gc.r Lkt- si z._e... O() th{; rnct:~ht
--
-
impo-"--t jC\vC\.u..tLt. sc.crnnu ;
--
publ( G c. la.Si p0-.tt U...f) J8 Cl {
- --
pu.bll C & ta..t-lc., \/D[cl ma..ln l Sth'n_g [ J OJLgS) {
St.Clf) 0 u-.. -S C :o n LW St..C\.O n U.. LS (J 6 tuY) , i () ) j
- -
Sy&t-un .ou..t -p-n'n.ttn L" &ntu... the.. siu Oh n: ");
--
,nr: n -:: sc, n e...xt--tnt l) j
-
in.t- ttmp" i ;
- . - - -
toi ( int t =- 1 j i(=n; i t t )
- -
{
-- -
1>0,c 1ntJ -- l .l j <'.-"n_; JttH
-
sy~ H .m.oLLt• P"-tntlh.mp),;
-- -
SLJ~ tuY) . o u.t pY1(\.t C. '' 0 ) j
. - - -- '
ttmpit i .
-
r - - - --
systtrfl DLlt pYinttn ( ) j
~
- -
-
r -- - - --
-- -
- --
r --
,---- - - -- - - - - - - --- - -
~
I
\
- -
11) •
sy.1te.m ,Ollt · p.i-.1(1 l t 1 - J
f----------------
0
r to• llntj=1 :,jc njjH)
o( ~YSU.J\1 · 0U..\ PJ,.\(\t(" 'I!~;
-- - -
..,
s~~um.ou.t .p'b\rttln~J;
~ ----·----
--
y
-~ -
'r
L -----
- -- -
pelt tu.n a: 101.01. {-&'! l -l-=-1 j-r-t =- m--t+ t)
10 101 {- \ or E---:r--+.i jl n; j ➔ 1 )
10101 { 1t1 l ~ ·14
10101.
--
10101
---
\)Ltblic, c.tQSS pcutun18{.
pL.LtoLie, stcwc., vo( c\ f\A..CUn (. StvLn.g t) 9~) i
Sc:.!lnnu .se, "'- nt.w sc.annt\. LSLJ~ttm in);
11
S'-\stt.m ,oLtt - P"'-ln.t L &n.tu.. tiA..L skc. or n 1 t1 J j
i'n t- n - .s cncx.Uf'ltl);
t1.n U = 1., ·u ::..n ; i tt)
{ -
tor l j "' 1 ; ) c~ n) ]H )
-1. I t' l J ·r. 'l "'-:: D )
-{
sy .s.ce...M. ou.t . pnn.1 l '1 oII J j
1un
11
-
: sy~ttfV\ . bLLt-pnnt t 1 IIJ i
r
,. &lfHtfY) .ou..t . pn n tlOl))
- -
r
po..tt u,_f) 19 \ - -
11111
~ ---
0 0 0 D O
- -
J 1 1 1 l
-
0 oo OO
- -
j J 1i t
- - -
--r C.t20 cli.:ti on JUJ
-
- =- -
Jr t = =-o !\) 1 = :c j
iC • (n-j) - ~ > ttj"' -=tn-1)
--= -:;-, 3> J= =c 0 9> itj:~cn /'2)
- .
4> 1 j: a_(n_:_1)_ iO) J --J_ :.c.( n/2.)
~ _
-
S'r j -= = l 01 '2-) H) ( -J =-"' l O f'L)
- ---- - - - - -
G~ -
i i = = l n I '2.) i!2 > ~ -t j -=- ~ ~1 cc n - l J + mti))
---- ---
----- --
p""'o9J..ruY1: ifY\. pO.,\.,t J o..v- a . l..lti.t.. s c.o..n. nu;
- -
p L-LbLlc., c...LCLs s untvu.s cd pC.LtU..LO el
-
pu-bue, sto..ti0 void fY\Cl.ln cstJting C.J ru_g.s) -{
S t.a.f)J) t..\.. .s c.. ~ o tW sULn.n u C. s~ ~ te..m . t n ) ;
S ~~ u.m. ou.r - pJJ n ttn t '' tnx-u. tlA.L s !.:u. o() n ·. ");
- -
i l\t n"' sc.., nocttn tU i
--
f-O"- lin.ti=- 0 j l(Oj tH)
- -
"{
-
--1'0>-- Unt j d) J j<-n., j t t)
-
{
- - - -
t~Li-==-0 II ,>,,tn- t) nj,ec,::Q II j-=~tn-i) ti j::c-=(01'1} II i=-::ctnl'2) I\
- - --- -
l"'=jU 1tj,,,:ot n-i)ll 1+j=::..Ln11-) \I j-i"-"'-tr )\1_)1\ 1-j =-==(nl'2) II \~:c-=~tn-1)
__ +ro/ 9,, '
{
-
11 11
s yHt.rn . a.u...t - f }vi l'\.t l >t- Jj
- - --- -
J
-
LlS e. {
- -- -
11
sy~ t UY) , Q.LLt . p.M t'\.t- l ll) J
-- - -- - -
\. r
J - - -
S~ &tUY) . 0 LLt · p.u (\.tt_n L) J
---- - - -
'r
r
-;\ ---- - --
- -
- ---- - -
-
- -
- - --· ~~·- - - - -- - ~
-
~ - - - - - ----- - --
-
....
I "1) t.trtl-tsk-it~~ ➔ p.w'1Acie9 ~ tMpo.nin~ or tw. bW.U If) tlct~ts wtci i<1 ,ht p.wgro.m
n C,\;l\_\ t ~,L-;I p,MVlc1lS t\A.l /'-2..tl.J.A() type. tOllU:ttct OJ Cl toe.a\ \JCU-ICLbLL
ei> c..t"-l to ➔ OUl-t-e.s .(l,U c..t.U.UI\.t tine., o() L,OC'IC.
:l n 0.\CI t\. til -'-.l.p.,,LS tr\. t .itu. Clt?O Vt &(.U) rui O CLtoove., MlLlt" US t ot l -o CtM~ .
pJ\.og rCLrn :~ pQC.~ t corn. bl d ta. . Jo.vcctlD..lnin g • CWLCLY PAO~ ,ammin g;
impo.u JC\VCI. .llti.Q.. SC.Cl.11.0U j
--1-----
pu.toLlG c.lCiSS A\YCLY~M~dtl {_
p.uva.te. struie, Sc.a..f'\nU sc..et.nn<.A ,;
-1--- ----
pu.b\lC, S t-c,LtiC, \10 tel Mal n ( Strt n g C 1 Cl't_~ 5) ,{
--+----
SC.CU\nU- "' ntw SC...Qr\OU c~~~ttfYl-tO)j
sq~tc.rn -oLLt •P"-tn.ttn t. 11 &nn.t . thctotQI c..oLtnr-or stu..ct..tnts lfl th't t.tcLH ;"J;
----+----
1n. r C..OtU1t° -= Sc.ct.f\f)Q , nt:t..,tCf\tt) i
suJn q. °""'-r_ J ,e: n t..w stJ\Jng t..c.o UJ\,t"'J ;
tO-\. t lC\.t 1.::. O j k cw._ . fe.n gth j Lf t) .(_
Sy stt.N'I -OLLt . p-M (\.tln l 11 t.t\.tu.. tne, rw..m~ orctA_e. smctm.t nu.MbU 11 1 lit J})j
aMCIJ -=- sc..a..n.ne.r. ne.~tll;
J
~ l\n. t t= O _; 1<0..\'f-Le..n...5th jt-H){
S1J ~ te.m. ou.t. pnnttri l u \he.,. M.Mt, o() stucWlt n uMbu. - " i LIii J-! 11 i.s ; " -f
d.\itiJJ ;
J
5
_ _ oi:, . I €::~ Is CU\ ownu 0() OJ'\ Lct.u.m.tiO-flc<l lJvU.S[ ~wc.h MU Mttlt\plt. .iruci.tu..tiO()
W\ctu. rt C\.I\A.Qng&t t\,l.L tristku.tioru -StmnC\~ tvte_c.t.fuJ~olle..~e. ne1..1 roll\. b,nnc.lAu
tDCCLte...c( Cl.t 4 Ct.ibreJ..ff\t Ltt1e.s ._Rir1:no.t t.LU'.Ji()(e,1\.\()3 C.t>llt.C)~ CllSO hOJ ~ bra.nc..~u
Lo<:.CLr:-~ctcu 4 cllfi t <!..ltie...1 cir tW....SlJClte.. Clt.prcr J..l,ll (lbo\.e.. Hl.na.n'o £n tht. rt)ofY)
ot) G\. P"'-0q"fC\JY) ro c.oue.c..t tL.u....ctlrfc~n..c- uti:u LL'l.ter?: rtd.s ptl"ltitutru imdtu.tioru
C\f'\'c.. LOt...o....te..cl .
~ pU.!olfC. tltt.5.1 f1 Y''rCllJ v0de .'.2 {
-1--- -- --
-- pl.LbLlc. sm,tic., 1101d~tl{) CStnngrJ CL-'l.OJ)
I
pLLb Lie, cLOS s t\Mo..y t,o cl e6 o{_
-
pu.1out. stcLtic-. vocct rw:\.tn c. swng t 1 cu.9~) {
--
- ---- - -
,________

1
Su:tnnn SG ,,_ ne.w Sc.A.nnu.- c_sy~t:c.m W);
- -
sy~ tllY\ .ou.I. ~ ·C\.ttn c_" tn..cu ttAL rot ell no. or in~ ntu.t1on-5: 11
--- -
') i
int ln&t =sc.,.n~u c.ntlJ;
----- - - -
_ St.>..ln9 a'Y'f(J~ = nt.w.Stv J~c.lnst JtJ;
-
tu-"- tint i~ o J I< aM.-lt.ng th j ft t) {
S L{iSn. .rr, . OLLt-p>J f\.t\.n ( ti en.tu. ttu- totc.ll 11.WYcbU. Dti u.ti U 0( Im!l7°(1J.,1..t\On ', u -t(ii 1))
- '_J
,n.t c...l~-- se, .f'\t'Lttf\ tU;
---- -
C\'Y'!t..i J = nuu St~n.g[cJ.r.yJ;
------ --
r
ti)->-- U f\ t t = a _; I< cu.,, . \ rn <:f'h .i t H )-l
-
St.p te...M-Ot...~- pA-tf\.ttn t ti Elltu. t1;u_ lf'\stm.1...tioo f'\UJ\llbu. 11
-+ li j)) ~
- -
t'O"- Lint }== O j j <-°'"-.U]. ttngth j jH) {
-
1 Oa.Ml : lJ) j
'
.S~StUY). ou.t- pJJf\.ttn ( 11 mtQ t\.,u__u-D:J nUJY\.bu : 0 -+ tj+J) t
-
cmt.iJljl -=- St. •f\t~l') ';
-
r1
tl)J,..L\(\t i =o j lcQU . \t.ngm:, rt+) l
syne...m .o u,t. pJ\..lf\ttn l '\ '1 n~ic.l<. J._tu, irntiALti on. 1• -t c. Ii 1)) }
{m lif\t J-= o.:, }'Cl..'l) li].'\t.nq thjjtt){
.S 1J1run .o LLt -p.h.i(\_tio (" tmrc\e. .t.Lu u..RJ nUJ\lbU _u t t}H) ➔ 'nclM'{ :1•0~1[:\J[j J);
y'
1/
-- .
oi. srmnaz Is 0-. Ql0!10- '> tlLCtlor\.l
r pA-OC.lttttion HollSt ~()(Lf{)('. -Q.K P- wldch
pYOc.lue.e.s MO\IIU (lCYDSS ~ ell r(<:trnt LCL~~ o tlm_t- is l.O.. MCld a.
~1 f Q..\.UD Ll. '0 'r iCUY\ iI ·
- --- --
tr\ o. tin.cu\ch t ~OJ. '20.23 - .:.l0-'.>4 SiM()ai_ hru ec\tticltd m s, l\ct woc:rs 11D 1
1
po'Uc.tm.i(\_i~o \Al U ClCYD &~ UM, \A. \.O..ru:r,lC\.~ t-S - A-\t { Y tl U. .\.lt eC1 Cf ,3 IY\0 V1 fl'
w.ct,... bt.w<\.g~ ro ~ e.ttlit'f€...m JbN)e~, e., k?orvw.ntt, (U..tion cl'l'CtrnO. if\ tetch
1----- - -
----
O\ the. l.Clt\_C\ ~trY,.r\C \l_ wc.tf\fi to ~ee ct.1..t. (')vu Cll/ c.ou UJ.i om !\,@CU_ b_y
-- - -
t..O-th fY\_ovte Clc...mss .nu ctlH<,n:.n .t t()..t\9~e.s · Dtp1c...t tv..e o..b\l ve se..LJ\OJJo
,,..
i
t1l. , o 11 <ti ~ cti,p1<, Itu Rrsen~, met cl r bi wch or ,h6 rv10vi, <- cu tU\t
cti~plet1 l\At OVtLCtll 9'.l.Vtnt.t r<\C\..C'l.L b~ Clll l..lA.L movies £~1 ')1(Ylr)('\.Z'5 eJ:-
p>-,-oclu c dOO .
-l
LM qua.~ eJ C.:i tn(TTJ Movf e.s
0 3
0 i 3
~ .3
0 1
i 3
~ 3
D 3
~ i G
~ 3
pLlbU't. ClQS~ +)ITTL~t-Ocle.4 "'<.
pu.bl)C n·cctl(., \C.Otcl M.Q/() t Stri.n..9 C1 cu-9~ ) -l.
t ---
St.Mntt-K""' ntw ~t.cl~tr l&taste.rn.\n)~ __
syae_JY). O.lLt. p-nn.ti.n t mt{'_,\_
II
to wJ no . ot; lM~UOl)tJ \/) ~
int lct'j_ ::a _se,,f)e:ct-£.n.t();
- - - - r-- sys te.m. oux. p-n'n,ttn l" <c.n t ei ~ ro tQt no. or C:{e...nuo 11 ) )
1 '-
n t---gm -- se,.nocttnt u;
--- --- -- ---
syrn. m . o.u.t. pn n. t lO L'' ln.tt Y tlA t to m.1 no . oti Mo 'Vi <'-s p.... ottuc.,d :j _
_ _~_K f),,1-oct.uL tiOfl ~tnc~ lQ./\~ ~ ' -2,; - -
►n t mov , ,_ sc.,.nextrntU; - - -
tm cmtJt.J ~ ntw (n.t LlQftgJ C.gc..nJt.m.o\lJ; - -- - -
fo) Un t- i = O j I -< Cl 'Yr~l e..11 ~th j i i t ) I\. - ----
sy , t t!Yl • o. tLt. pJJ n. tto C' truu tl,u n u l'\A b~ o t - l_~'i)1"-"-J e '' i Ci -11 ) ) ,i
to"l t j if\t J ~ o _) j <cnr LlJ .tU)grn JfH-) {
.~LJ!ttr'(). oLLt Prif\ttnc 0
-,
--t
I
- - -

- ~-
-
08 H ~G
09> f:~p ~et i/"'\ t h t_ cU~\-tunt m e.mo)\.! se__~rog,-t1.t, on 'D (1 Rf\M
~
RAM
.Sto...C.K.. AttlYClt10r) h LO'l'(I
SQ..gfY\U\t l-0 ta1 V'QMQ \')l.U
\)toJ:·1c stcLti c. "01.,,.i cw 1es
Se...gmmt Stt.Lli'c.book.s-
.Sm...ti c, M~tuoru
Hla.p O~j lt.t:S
0l9 Mlnt truto..n u . . 'l c.uJ Cl\olU
t...t> clt- HLL u:,cl l W'Y1 rt tn b 1j
ol9mtn.t tvu.. UM.\ i S pM...5 U\,'\
WhCLt OJ\...t_ cStJJng.s ,n jo.v a. • ~:,c:\'.)f('Lt'n -tlA.t ±cuo ~ pu o~ strinct .Q..{) Jcvvt1
-) .Sr-vin.3.! ln 1C\.VQ .u cte.ri nt.d etJ nu. l~Llu. .tioo op MLLLtipte c.hcUi'\.c.n.
--5 0~ ,StJ'\_Lltf)U..
lntt:tl'.'l~ie-
or c.hct.\_CLc.1LY3, fht..A..LC\.1..( two typo 0~ st1i:nqJ i()
--1}-
] C\V C\. O'\'U-lA~e- . .H.u ni ~ ~1 irY\MLLtc tb~.u~ • s t-"...i n~ s io Cl mra
~ "ou not t.n. cl l/\..Li th C\.. £\Ll.ll ch cL'Lo..c.tu .
-r Stj,__l'2_5! i..O 'JC\VCL lJ bl,1...\J..t \ _f'l C'..lcLSs Loklch i.J pM.Stf\.t i0s1'cle. Sc'-vC\
Le\.~ p Clie_
(L('.f(..
~ St"--\fl~ -t.O 1ClVCl bl_l. cle..f)Cllllr Cl.\...L immu. .tnbLL
~ tmMLLtG...blt _st,Jn~~; 1hue. CLU. tlu. Stnn 1J thCLr LJ\.ft.OOt bt_C.hc.t1)9e_d
anu a Li cJx.Ll'Lte...cl :__u: '..u ?\.,Lp1e...H-.nte.. d tA..SLn.t'J stnn.9 c.laJls .
i Mu.to..bu.. stvin g.5 ! Thl.\ t. GU.L tn l stn~.1 ~cLt c..cLn be... t...hcLnc.JC'. . cl oo u..
n,- ii u.LCLte...cl . tt ...!:::_ ~ p,eJ rntesl~i~o S'tnhg GLlrf u o/ St\f\(\_9
I t:,w.1..cle..f c.lcLs~e..1.
11) t.,cpLa.f () tkL cUb~t Mock~ ~t\l\1t.9 c.ompruJ.s DiD ~
~ tmmLLtctblt stJJ.~ Ut.n be. _ compc1...\.uf in U~f)btLow- lng M..CL{\_f\e..r
l •7 &qu..wU ', Thi_s mLthod JJ ~Lse...ct ~'Y pe..rro~'\.(n.i -th~ c.ompc1.roi~on
' D\ tu)O s mn~--5 bru e_c1 o.r) t1A..LlJ,.., rnntmt _ _
=_:- : This!:...._ LLSe....d 60~ pt..,t.fO'YfY11n~ tnt- c..ompo..,~:cson op ~,,.. . np.now
~'r
tC\.clc\HB) o~ t~e.... t-tvo ~ t:~-1n9s
e.t se_ ,{
- -
I -5~1~nm.oLLt ,phlll.tl.f) t. 11 Re..rtttOUJ C\..U.. not t.qu.al ");
r r -
S'rO..C.k. -t-£1:-f\-p
5• .~; n a nnnl
f'nnMrtnr
poo1 ,r
Ant"'\t)
r , 11 101r!MI A\
Si (400o') 11 I NOf)- C.Of)..!t'."
~~
- ct.r\.r po o I
~
3► e_qu..a..l5tgno.e..ca.sc This mlth.od .iJ LLSu::l ro pt-\,~OJ.m srs...1n_s tcmpcLli.)ol)
iJ
I bLJ i~f)U,lif)~ ::t.lA.L C...CU Ll .
• 1
~~o Cj-1t.a,-n : pLLbLi c c:t~..s P"-Og-\.0..mi -t
--
PLlbliL HCLtlC. voi cl M.CU() (St"1n9 r) Q.\.1JS) {
SU..\f)':) Sic:. ,, RRM.F\ II )
St-"..in9 S'd.:; u ·m.mc1 11 ~ -
SLltt.t.m.oLLt.pl\.in..ttJ1. C." c.on..te.f\t com.pCL\Json ") j
ir Cst tqu..C\.tS ~gl'tOH.W.St. C.S~)::. ~ U'Ul) {
~ yStllY) •Q Llt. ps__( f\tlf) ( " S tn Q~ S Gq_WU. 11 ) ;
.r
---
e..tst.. -t. ~
11
sy S te.rv1. OLLt • p.9..i n,tl11 ( Ht\()~ _s I\O t t.q LLCI.{ ·1/ ) j
V
----- r_____ --
3~.Hc..rn.ou_t ·PYl(\.tlll. ( ff R'l'...re.r-e...nu.. C.oMpmison 2)
,~ cs1=-=s:>) { 1
---1------s-'-yju..m.oLLt-p·yfn.rl~e.i;-e__i-enc..u c°'_e... cqc.LQI q) :_
~ e.t St -1.
I----
S lJ H ll\"1 0 \..U · pV\ !\..t\ I\ l" \:q e. l'tl'\CLS I'. \..\..L VU> t £.q t..LCl....l • ) ; _ _
I,.
I 'r \
% g jj cQ3
t..l
,p eompC\.u. n:. muhoc\ . n,1s mtttLcd is cLlul to ch t.c.!;'. .cLu C.Of\W\1S o('
--
~~ m ~ plolo w<u1~m"'"~lblt ~-;:;,~, ~" lUm<d "' u. -;;"°1' lhCLtc.OJ) not
-= -=--- ASCtr -
stn:n91 bl tompro..1nl ~ Kt.~~ vCLlu.u Ct:_ llA.t -'-I.SP tt\1Vt chcQC\CWu _____ ~ L c.riM~~ 6'1Cplrun w-\~ a.0 uo.rnplt
p \~.\Cll"f1• ~ - ' -~ t l ' . PLlbl'i~S P-"Dg\Cll'fl.:2 {
-----
PLLbllc c.lC\S.l P"-tq,,_ctm1 { :% pu.W.ie, sn,__tie.,voicl IY\cun ( StMn 9 [ 1 ru.9s J{
pLtblic. s tC\.t1'c. \/ai'c\ rncur. ~ Sl9'.!n~ [J CL\.Cp) { ~ StJ-,\f\ g SJ ~ "RO.VClOCl" j
- ~ --
St-\.H)9 S1 ~ " QAMF) II ; ~ St-"-incJ s~" "51~ : _
SL"-1nq ~~ ~ •· IQm~,.,; .~ SL , C.Of\LCLl (S'.));
~tptm.~Lr p-"-i nttn C Sl. c.cmpu.\.LfD cs,)) j .~ S'ilt~ -OUJ.- pn'n.tfi) Uli_ J_· __ _
SL1su.rn. CLLt -pMnctn C" c.c-nw,r c.omp cu.tso n J) ~
~
-:r-
ip ( SI c.cmpcL'\J--10LS'l) _•_=_D_)_ -<._ _ _ __ -AS ~U.() Ln fut aJ::,ov-e.. p.1cocpnrn 1/Jl mCt-Kt- LlSl or c.onc.CLl Mt.t\Aocl lO
- ...~
_ _~_ljm.. rn .oLLt - p,,irttif\ ( u ~t-ti()~l EqLLUI q) ; me.. e. c.onr-e.n..11 o() 2-- Sttlr,c g buJ: we.. OJtL µ_Jl..kin~ op IIY\mut O.bll
~ - -b{_(
'r ~ .strin11 wLuch cloe..J r\.Ot- .ILLl)PO"-t tlAt &t>-.inc~ w-ill mi CLLtt.\.Ld ct1uctUj_-
e..LSt.( lt-Jt c..Qf\.. ~till o.c..t.A.iure.- xu.is J..~ we. fD"-t..t i J- t1) c.on.tcun tw.. ~ LLLlt •
~ t u n .o Ltt- p-"-l n.ctn r 11 ~t.un ~not lL'\LLCL 1i )_) ~
5 ----j
1 'J ~ t 'ICp.t..oJn :mfY'lLLtn.bli!. st.hin s o.lojtu.
r ~
sym:.m. cu.t-. p,\.lnt-ln l" QL~t.Uflu.. wm.ptLu. on ') _; ~ public. c.Lass P-"-og,Qf<li{
~
1rts1~=50){ ;--~ - pubUc. static:, vote\ mcun Cswn9 [. 1 Cl-\CjS) {
-~
s~trn-oLLL .potnttn c, l<tPW.OW QJ,,L c-qu.ul I l)_j Su-.1n9 Sl e nuuStrinJ t"R.llM A llJ j
~
~ use..-{ stn:n~ S'2- ~ nc.w stJ\in l' RAfYlA "J j
~
s~s te.M . cLLt. pA.t ntV'l t " Rt ptre..n t.u C\N.. :ot £...qu.ol "); ~ s~run .ou.r . P"'-in..ttn l" c.on.te.n..t WMpcui5on •))
---- ~
1f ( SJ . e_qu..Ols C.S').) ~ = tn.H.) 1 .z_
4--r t~
r, ~y;te..m .out .p..dntln c• SLnngs £qu..Qt ");,
1
r
5~ C:. c!Y'\U\.ttt:C.gnonc.c_!:t' 1hi1 ;:~thod .i.J wu:I 1ll ~ck ~vat.L~J--- ~ LtSt{
t~~ L.OMpCLU tlu strin9J by igno'Yif\CL tw.. c.ases . tr s~sw'().cu.t.pA.\rctln c.•stnf\~J rio t t:quctl d))
t ~ ~ l~
- --
_p - - -
-tht ru t\ e...u.oLL bLtt.uur) c.hcu.n.c.ttn bung. c.ompcU-Lcl D r,ot t..qcl.R/ 1...~
tn .,-3:;1, 32 <;:i o t ht n it woLt.td .t\.t.t1..l-tn thcLt u/1( smnc ~ o.v ) -~ Systtrn OLLt- pJJ n t[ n l' Rlr tre.r) c.t torvtp et YlSO() ');
not LC\Lli't-1
0 ~ if- (S1 ~ ~S'2 ) {
~ t:.Otllttc<) , ~
i( t Si. tc M pa:re. fo[q 1101 e.c.a.se. ( s'2..) -..,; o) sysctM. ou.r- p-nn.ttn ( '' Rc..t tn()tu cw._ 1c9tLCLl " ) i
--~
T e.lK./.
~~ ·~---- SyS tUY\ . ou.t p'Y'lf\. tiJ\ ( 1' R.tfue..rn.u an. n.o c tqu..0-1 " ) ;
- -~ _
~
, ___ t
~ I)_
.__,
~ '
~
~
- - - - - - -~"-. . - - - - - , - - - - - - - - - -
~ ~~ jt u t'IA..\.td.d s a.pe. S~ Lt 1.~ not t~\H.O..C'I SG.f't
~tJJ.n.9 Pllol
~ '> lt '-.Llru ir, CL s!n.qle. tlAHO..Cltd GI [t Mlf)~,tf) Cl IYlU.lt1\CA,\tMtcl
----- - :..r"'6 LnVt.ll.Onf'\11.tr\.t,t-flnU- tHt.LLtion t trWiMf'ilYltnt · H{OC.l iJ· il tic1sU.'I.
----- - ~ timl'.. i..i .tow(s _lo_w_>_·_ __ i.() tlCtC.U.t.lO() ,
Cl bLtlts_
~ "1> lht pu..~TTY\ctnu. is low ctue tlJ !:\~ lh(_ PU.fOHYlCU)U JJ fQSCl\~lS
Si ------- ~ mou t1mt L,OO~LLl'Vlp.tion. tht tX ttLLtlOO time. J..I lOU) .
-1- -1,l_
,
I'---- __,__ _ _ _ _ _= =-'L _ _ - - - - - - - -~ iG,) c)(p[CLlf'I thutcLtiG St..CJr<ltnt- in the., r1)tl'()I)"-,~
~ -J i. Sta.tie, su:ir<n.r\t i.s c...CLLlt.d as t1,u. \/LP St.9mmt btC.CLUSt DLLt oti rh,
1,n f.lepl.Ciif' mu.ra.blt suinqs in J<\va. w.ith. c.llr(L\.Lf\t L \ : : C l ~ mLmOJc Jt()l\'UJ'\lJ tlAcll (M, hcw-e. ~C-C.lti(, ~t.G \;v-..L \i'lSt' pYioru~.
-A mutOb\t Sc.\.ln~_..LI cle.~m.d a.so.. swnc! l-L> t!..hc.Loclo.,bLLooucreoJe.d _'- - -= ic Tho...e.. ii etl,L\Ji. OO P"'-uu.lY\p-tion a.bou.t tu.1:.i',tLJwohcl StQtit. it, sto.t1c
111 "-l\l~~tr\tu\ Lllinj stun5 Bllt£u.. (, snJn~ Bt.LiJ..clu do.ssu ~ ------+-- is q-rt.. n LO.D~ldv..Ld CTl be. c.OMtn.nt bl.IX sLC\.tit., clon t hlpnsrntJ
-i t, l<lbUt~as5 P1t091-a.m~{___________ ______ -~ c.on.t'Ca.nr '1.C\.t\,u .,"- t\,u .L wou..lc! 5a.v-e._ :t:w.. tdl'.MO"n. spctce b,..1 c.n:o.11n9
pubt1c. S[Cl.tl(. ~Old MCUf'\ [ St.i,.1n3r) O,,\Cj_J_) _-f_ _ _ _ _ _ _ __ tlAt ML!\AO fo-i b loc..l'O ~ t\A.l t-,1.(.t\A.o clJ on LLJ onu.
___s_w 09 Qiu.u.ct u sbJ , nw> .st n.f\ql,l,Uld v, c, RfHYJ fl ") ; -r en a.. cto..ss wt ha.rt Stct.ti' c. c.\-S w~ll cu f\.nn - srct-tic 1v1uvt.bt1s-
S\:nt,Cjl,Urrt.Y ~b~, l'\lW St\'\ncp,ubftr l_ '_ 's
_r_
rn "_)~)- ._-_--- Th L St a.tic.. Mtmbu.s UM. stn..1it., \tCWCL!oU., ~ta.tic. blOtk ~ ScC'ltic. Mtthoct.s
'-'
Sb1. o.ppt.nd ( .Sb.t); i N.on - StQt\t. !,A(.IY\.bns C\.U (\Qt'\ - stCL[IC, '10.V\c.tbll, non - s CTLtlt, .blDtk5 i
-------------
sy,tuv\.QLLt p'"ntiJ\ C.sb1J_; non stcm'c., µc..tbtodJ .
~ ~ 'T\,L stCLtic. VClYl:ctbLL CW\ be. Mc.use.d to~ both sra.t1c. ~ non--.stC\.t:lt,
tis sun in tht. o..bove. t-XD..fYlpt t1,u muxa.ble. sc.11in9-5 make. u.st. o(' \( ~xra M tlYl b U 5 .
opprnct ~oc..tiona.u1:y to mv..9e.. 1.ht c.of\tc.nts op two nrin~s d.l-re.ct\..lJ --t Th e. f\QJ'\ - sw..ttc. vo..n'a.tolU c.cu\. be. a..c.c.e.sstci antLJ bl..l no.D sta.nc. Mm1brn
o..s t~~ mu.table. s t n n ~ . Mod.Jfic.a..tiono\\' ttA.t oustin~ _strin~s- ~ ~,
£~ ~ c.ori.siclu.. \\,u_ t'l)LLovl.'1'n9 f;,ca.rnple!
L ~1 ...., ,
'.ln\l' 1<;) C'<Plwn ttu. ctiffL\.l.nu.._., bt.twun -Stlingeiu.1tu o/ stvtn9e:,u.i.Lcltt cLa.sw·. ~ : _, pubt1c etas s P'rocpctrnJ .,C
sni0ge:,1.;H u s tving t,w..Lde~ , ~-.. sea.tic. int a, b, e,;
- - - - - - - - ~~
fl [l l~ u.~e.rl bOJ. -'11PMH(!~ ~is u.se..d ~-t-"- .,e.p.usmtrn q ' ~, 1n t- M, n, o;
1 - - '-- S{:~ne, •
mu.t Qblt stJJn~s rn u.t Q bl e. stn nq.1 -, i:,;1 bu,c.t st Cl t1 e, -t
-- -- - -'+--- - - ~
J~ lht initlC\.I mpe.tC.ltc\ O[' ~ ~t iriit\ctl C ! l p C l c . l ~ ~~~ o.~ LOj
- Q,uHo ls H,· -~u.1lcte.\. is JG. ~ b• 20;
'.\\ ll LUC\.l lr\tl"t)Clllud in JCI.VC't ~~ 1 t wcLs in.troclu.u.d ,n Jc:t.vo,
~ 1
.~~ c. • GOj
YUS\0(\ i ,O v e.rs ion i. S- __,;!, ('()" L DO j
~\ R QCc. Lonct11:1on dou not CKtt\. ~ · ft -'-.!lOOJ
4> R.0-ce. LOIKlitrOf\ ocu.tJt.5
'-,~
I~
~ • ':\llO; 1hl- non Ha.lie.., bLOtll, w-{(1 bt cLu toN1ctt1co.ll 1J oP(tLttrl oou JW objH..t

is w.o.t ( cl •
f\01"1
H(ll1l bwc~ tmpo~t iava .u..tiJ -~cannu.;
a J DOC', cta9s F-cumu{
b· .?000_; ct.o\..l..b I e pJJnuplt;
C• 3000; ctollb U.. timt;

m JOO; StC.U ic. clou.b\e. V\..U..,


n • .?OD; ctoubll si;
0 • ~00,; StCL.t"i C. {

Jtcuic, vo1 cl cLLs plt H


SLJ~tun -ou.t pJ..intln (a);

St.JI ttm ou..r p,Jni:-ln c b); \/Olcl c.oue..c.tDO-..tQl){

sy1t,m OLLt pJJntln co ; sco...n..ne.r sc. ~ rKw sc.o...rtno cs~s(..UY).'1n) ,,-


synu-r1 . O\.Lt p"'-1nt1..n Lm?; s~~ te.m . o.u..t . p.tin..tln t' E-nru.. t11.:_Jhim..iplt. ctrnou.nt :") j
syntm -ou.t P"-lntln (n); p.iJncJplt ~ sc...nt'X..t-DoLLb\e u;
.SLJSctm.oLLt p'lintln lo), SLJStt.m . nu.t . p.JJn.tln l" Gn.tu tw. time. c.lrviou.nt ,'');
t-imt. - sc. . ne::t.tDou.tou.t J;
\JOid cUs p'2tl {
systtm. OLLt.. pJ..1ntir\ (.a); \IO i ct. u,,_ULucu·e LJ ,

sy 1 n.m 01..Lt . pk.in tln I b),;


sq1cem.ou.L. pnntL0LcJ;
Sljstun-oLLt printlnlm); - + - - - - \!Olcl d.lspLQ~
.<:~!tun ou.t p"Yintlr, (n ); ~ t m . o..ut . p.>Jn.tt..n l' t-hc. sl b "+ si)_;
f ---
s lj5ttm ◊LLt p·,·fotln ( o),,
l.
pu.tuc. c..to.ss .1..u.unt.h {
pu..bll c. 5tCLtie, ~otd ma.in l sw'n9 l J cu.:p )_./.
l<JI\.U..tCI pi:.ogrcuY1 tT.> ciepict the. Ltset-.gto('sto.nc., . .sy.1ttm. DLLt P"-1ntlh tr:ru..mu..Ji..CLte.) j
----- --
PC\.\..rY1Uc fj nt.w PcumtH) i
O

N.!,!e.., ,he. stQtlc blocJ:. 9u, t_xe..c.utu:f Qtt..Wrtl.CL..tiCL\.tlt.1 ~ ed. lhl.. i::o.-rrnu. f-'2 = nUD Fmm e.H) i
Q.l<'Hlltl-0-1'+ J
bt91nning or the. p.>..oq10.rn_, it&1..Lp. Fe1-rmo .f3::.. n{_w FCt'YTYlOC) j
StC\.t1c \/ru.ic.tl?lt.J u:1.n be. ~a..lltcl tvrn wtt\\l)LL-C- oe...o..-ting ttu_ clr.)jlct-. -fi , c.ollu..tOCL.t-QU;
This c.Qn be. ct.ont bl\ LLSin._~ tlA...L clCUJ-(\_a..f\/lr f1 , COLlC..LLLCLte.U)
l n t- C\..ct.d ( into. , ,n. t b, ,n t () {
utu,..n o.tbi e,;

r blO o..t a_d_c\ {_ bLO o...t a I blOCLt b) {

J....L t-l.U . n o. -l b i
r t lo o..t C\.clcl C. blOClt n I \l,OCLt b I ~l.,QC.lt C) {

"-.tt~n Cl i bi c, j

'r tloetet etdd ( jn,t- a, kl.ocll b) {


"-1.-n,l.\_f\ Cl i b ~

r blOCLd o..ct.d C ~LO C'Lt a I i (\ t b ) ,{


"-l.tu;..n cli b i
'r cLoLlble. CL.c\.d LclOLLbLL C\ , clOLlbLl b) {
"-I- t'\..\J\. n cd b ;

\- oloubl. t a_ctd C \loCLt- a , cloLLk:llL b) {


h.Lh.U.n a, b;
~ cU)u.b u.. CL.ctd ( in. r a , cLo LL b U b) {
unu.n o.t b;
r clout?le , a.et c\ (int a, 6lOCLt b, clUUbl.t. c.) {
~ e. t tU fl 0. i b t e, ;
r
'r
pu \? Lt c, c.Las s LC\.u nch 2 -{
pu bUc. s ra.tic, ~01cl.. mo..,n ( stl'in ~ r J ro.~~) <.
int a -=- 1o , b ~ .'.lo , e. · Go j

{l OC\.t tn , _ l O · l f- , n ~ ~ 0 . f- , 0 " (3 0 · '3 r)


clou..ble p.,. 100.J 1, cl~ ..'.lDO-~.:i, ,._ .300 . 33 j
CCULl.llc\.tOY c.1 = MW C..C.tlculcLt-01 c. J _;

Sy.sttm . ou..t . p.;,,intln ( C.j ,o..d.d (a, b)) j

s~st~m OLLt pYintln (tJ .o...d.d rm,n));


systc.rn .oLtt p-'lrnttn (u,ClC ld( p,q)J;

SLJSte.m.ot..tt . prmti.r i (CJ-CLClc-1 (a, b, cJJ;


SLp t~ m ou.t P"'-lf\. tln (c.1 . C\.Clc\ t m, n, o J);
SLJSt(._m. ou.t · pY1 ntlri ( c.1 -ctclrl(v 1 1 m1P));
r
r
~
SOLJ,\_c_e_--, gtl)UCltl.gtttosy5tC1H5 --t !Alindow
Clpp u:t. ~ S - l S tU. . c.t O.l\ -! JU..t.C.t pu..lD Li C.. --:l
JO,, •3 I __ q tn ua..tt -l -,1 pp e.cui .

191 Wl)Ctr ii YOUt.p"--U.Qtion (, whc\.t C\.'1.c. UA-t..\.LLlU tD b'- rtJLIDcuu-1 whi\{- ~f)Ul,pJu. ~ -- ~ell ~ nuu ooglJ j
- to.ting the.. P-"OCJ1CT'1\. _ ___ _ _ - -~ '----- ~ i . f)Q!Ylt ~' tomm~ --1 c..~,O'T c..cvrnot O..C.C.UJ DJ\.lVO-.ll fVH. Mbt'rS
Enrnpsu.tC\.tic0 "-t.pu.s rt ..t:.w. p.;-ow.s op£ovicli~- stu..wJ:Lf ro lht mosc ~uH1<'Lt rhe- tlC\l!
..,______f- 011. sttDet.tatJ;
impw..tctnttcmponrn,oD .o.n olojtct. dl· ~udCt-tGIUj
Tht 1'.Ltl£.J tn bL tit)llow<..d 1A.>hiu rnrnpsLLta.lin~~ P"-Oqrcun OJc~ :
J' us1n~ r~1vctu. mU'flbL\..S -----

" ~y u~!n.~ Stttu.s ~


1 c.rttt5 _ _
~~ ~_·t_L_ a.._ p.i,._o_g_'(_c un
::1) tonc.li.tlooo.l StC\.ttr)'U.f)l, .j_ I) ntLClt.ct - - - - -~-t1_>-+--t-"1__ - -tll- ,u
_ p_9c_~rnt incltpwct.rnr art~ o/ ~tctc.rs
~~ -4 c..LClSS Dog {

P"'-lvC\. te. .sw-.ing name;


V-..Uci..te, a p.i-.ogrnm ~ t.f)c_0._pJl..l.lnD Cl c.ta.s_s
c.[o.ss Dog {

pJJ..-u..u, St"'1ng nCLrne _;


__!.U\fa.te_ .St'-.\OCi\__'.:OLOJ,. j __

p"-lvC\.tt St~n.5_!"-W:I ,_' _ _


P./\.l'IC\.te. ,nt cost)
--------- -~-
p.>Jva_te, i~o...9t_;
\/Oicl sttDct.ta I ) { c.otol ~ 0 ;
ncuYJt c " tommy 11 ;
a.qt ~ ct;
CI...CJt= JO; c.ost = t,
c.ost , 4000 J
b"-H..ct a IIPUB'' J \/0\c\.. (_JLtC\CLtCLt)_ { _ _ _ _ _ _ _ __
c.olo~ ~ 11
b¥1lwn 11 ; sy&ttffi .OLLL -p>Jntlf\ [0QfY\{) i
--------
sy~tlfn,OLLt - jWntln (.b,9cu..d)

\/oict CJttct.cuat); { Sl1srtm.ou.l r»Jnti.o llOLO~)j

-~ y .st tm OtLt pJ..(nttr, (. no,f)')e); Slu~ttm.oL.-Ll · P"--lnt\n ~t)1


StjHUYI DLLt P"-intln (b1u...cO; SyWl'r1-0\,L.t •pri(ltln La.gU;
SLJsttm.oLLt pAtn.tln tc.0Lo1Jj
systtm.oLLt.. pA.lr\t\f'\ (tOlt)j pu.bUC Stnnc.! gt..t(\lOJY)t u{
SyHtm. OlU PJ--lnttn la....9~); •J.hU.J'\ I) t:1.m t 1
pu.bLic. \/Oicl St.t(\ltlf'V\( [Strin9 1Q orne.,) {

pubUc c.1a.ss LCLLLOtht { tht~-f\.a.rnt = no..me.;


pLcbt..lt stct..t-lt. ~otc! fYl.c:Li(I C smnq_u Met) { t {)U.b\Jc 'Mil~ &rJJnj <':)LtC..Ol01l) {

You might also like