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

Java Method and Variable Types

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)
5 views25 pages

Java Method and Variable Types

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 [Link]. Jt~e?
- 1
p.,..agHlfY1min1 l°'-n9u..o..9e. ..iJ [Link],..,d to o..s the [Link], 1n\tn.1ct1ons
lhet.t cue u~e..cl .:tu ll"'![Link] with tht co!YlpcLt u to [Link]
\he_ t0mputt \ [Link] .o. [Link], :[Link]-
~'f [Link] 1h ct t i& tht his [Link] [Link] 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 [Link] 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
[Link]"le.. 1·c fl'tOl IA( n e le\/ e. I t O.. n~ ltMr •
~ 02. It 2.3
v:-
~ I pl'[Link] [Link]..tS
~ ,------- -- -=====-- D - ~
, ... WhCLt OJ-L tht. clif-ftHnt impo1to..nt [Link] o() c.\ Lompu,h1?
~
---}
H~ODJ Ma.![Link]'.nj w-""! n [Link]" i.J CLO Oi:JjU.t (
Pnl'/\CW] fl - -
An ob}u:.t- ;..s cte...iint..__d clS thL rut/ [Link] U"\bi:hj 1Alhich hru 0.
~ ~
t5V ~ ph.~SILJU'~[Link]·
o t-ion
[Link].
2) ChLap
~y v,..\ho..t i.i o')'"LU\t"CLt-ion?
OLS. -An [Link];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'\[Link] ?
dlV1lt -----noi n otog ~ ___ir:_~;..
i:-,rc.. c)evJ'ce . Tht. ptAspc...c.t-lve.. --[Link] a. .M...OJ [Link] rntib...J is ULLILd cu Qbjtc.t
[Link]; l<e.g 1.1trr ~
~ o,__1tn.[Link].
ltchnoto~~
e>[Link]·ce... Gyrc..
4~ Whclt" nu_ the, p.t...inciplu or ob[LC.t [Link]?
~ Thut.. cv.. e S" irnpo.u·a.J\t p;JncJp\e..r op ab}u:.r [Link]
=1', ll\.thy l\.O we. have. [Link].- rnuno110 on thc wmpuln [Link] --- --- ---
Thtrt 01 .u o. [Link] ucpe...Ltettion op the. P"-oqrnmmcr trol'YI tht
- ~
~... P The. t/\..lO-".ld is Q. coll [Link] on of) aroj [Link],
---l
Ji EVL'-LJ objtt.t i..s l.,lSt.r,ll cmct no objut .l'l Ll$tl~.1.
me.h'\O'n.\ [Link].e, th_o.,l is __
-3} EVUl:J obju_t .u u.f)c\tr wn,t.--crnr [Link]. 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 [Link], must bt [Link]
( Vt.\.l) ObJLC.t be._toncr i:n a.. tLjpt.. Cl.l'\cl the. [Link]. in obj H.t ownto..
c_11,
1
Tht memo, [Link]. mwt bt non vol.o...t1 le..
r I~
~ <H
- t ion <Alt cC'lll i~ l.! .:tW. c\a.'.ls . <'..\[Link] ctou [Link] tl1'1st tr\ JJ...a.l1.h!
iv~ Tht MUYIO'n.j c\eviu rY\.UH bt. [Link] [Link]..
it ts JLLst rw.. t:[Link]"-lr\.t
S1nu. ell\ thtst bOW [Link] [Link] bt. SQ.ti551td bLJ Ct
~
::+-:,
$~ tllL\.~ ~bju. . t btLon~.5 "RI el... tcjp-e, [Link] SDfY\tthin~ [Link] tvu,y obJeLl
s1ng1e. ru.e.mo1 unit tAJt hc1ve. 12AM to [Link]. c_CQe, or [Link] ~
-~ ctou ~om U;[Link]
CLn.c\ (om_pctclnts s ( [Link]&.isk to to..kt crue. or f'OO \1olatll111J
~ 'The...
nru pcu.t JJ ~presente.d u9ln.'l the.... [Link]. type.. ~ the. ctou
~ e.'1:[Link]. . ~ ?eu,_t is up"-1..[Link] [Link]~ Mtthools.
~
~ fl/ tAtho...1 o.>-.L th t cl1Hn <:.nt ptU.O'\-":, or [Link] o~ltf\.10..tlon ?
, TI --
-l Cbilt.( oi,,,1tnto...~1on,,_h.a.!ltn~ 4 impo">[Link] 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 [Link] t be... co rY\ p1..c..t e...d .
Tht &~fltO'll ori tht [Link] o cu rDLlDUJ&:
MHhod .[Link]:re.. · i
OLLtpll.t [Link]. -Ot - mt..tkod [Link]..t)
~
LOCJIC.. op the.. [Link] cl
r
M ttt,u)cl st"-[Link] - ~
utLLtn_tLJf)t. nam( -ot _mt.ttwd ( PClWmLtt 'I')
{
LO CJ il. or thl me..lhocl
}
~> tAlhctt Cl\.t. the. [Link].\..Ln.t- typu ot metrt\ocl.9 tf\ Java?
-> 1hu.e.. cu.e. <1 ctir~Ot..nl tqpu or mc..thocll If\ fo..~
J> [Link] ![Link] hoLLl 1'.npu..t ~ L,\LithOLLt CLLtpu...t;
vo lcl [Link].,(Jt) {
int Cl - J O )'
mt b • ?Oj
in. t c .. ct t b~
[Link]). oLrt . p1inu. n ( o;
r
~r [Link] ct wilh tnpu.t_ ~ no ou..tpu.t- !
VOid displ, C int a ' l()t b) \
[Link] c:. a.f b')
.s~sn. m c.u.t. PNf\ti0<..0;
r
011 l i Q~
jJ> I vuhClt .;.s [Link] ,1ruJCLloLL?
~ I f LOC..CL! \lO-A!ctbtu Ct.U lht 'llCU..tO..btu [Link] o..,_e., e>.LCLte...ct wt thin tht
mtrho& a&. [Link] OIL tht, bLoc.f<.,
- --
.j( lou:d [Link] [Link] [Link] th L 5-lt clq)cU,LLt \[Link].s a..s th tLJ_(Lu not
a..n oc.i Ct.-l e...d
¥ [Link] \.ICLJ-.,.iCLbleJ [Link]-tso [Link]..UU'! cu ru...nt-tiof"\ [Link] oJl.. tht. [Link]
V W-i Cl b1-tS
- - --
t Lo Utl [Link]...s tAd 11 3.:.: th,L [Link] [Link] in 1he. sto.c K [Link]
'f lhl sLOpe. or lOCCLt \[Link] U ,t1m1't:e.d to lhe.. t7-tnu--fon 09'.. the..
- -
btoc.k or the. [Link] tn wkkh it i.s c..\.Q___cu:LC-1 .
J!:l> , v1..tho..t ls ct stet tic vru..[Link]?
I_ - -- --
- -) I ,r A stcLtle, va..LicLblt. ts a.n [Link].t. [Link] 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.. [Link]..Lltt \tO..tL,IO atLOULte...d.
., Stettic.. vc.L\iClblu a..,u not tht tonstcu\t "a....\.1Ctblu "-(Lthv.. tnt.
[Link]>..~ lo' stclt--jc., ~CL'l..{CLblU t.U1ll be. [Link]..d Onlq one.~ .
"' Static.., \'CL\.iclbltS [Link] 9t.t t-he. m{rf\0')~ [Link]! 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
[Link] II r:v
tf'\t c..; 11 1\J
\Io t ct [Link] e..c. t D [Link]. l) -{
Cl:o j 00 ;
b~ .200.,
c..:::Oj
'r
~
r
[Link] c. [Link] [Link].h {
pub Li C. f, [Link]--i (, VO id [Link] ( St .\..in.~ u cu...cp )
Oog dls nu.0009();
syste..[Link] pytnt\n (tfj l"lctme )j
1-
S,o .p [Link]. 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 [Link]. pnntll) (ell ,f\ClNH) ;
S ,o. p l ctt ,bHt_ct)_;
$,0 .p l cl i . toLo·I) _;
~.O,p{di · [Link])_;
S,O pl Cl! ,tO!)t-) j
S,[Link]"----~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
[Link]('- '') )
~
2=
d2.-'-Llllt)j ___:'ICP_':'.:ln PAlmiclve. DCUCLtyp !J [Link] <,U-ith (.tJ N)n9c.5
ci2 1'...C\.t( J j _£_;...imitive. [Link]-CLtypu'sOO;{) ~ t . c.a.n be. c..[Link].d bd usincl tht..
d2. SlLtpl)j bO"-fYluLC1 -~,H ~ ~n-J -~1hne.. ~MpMSLnb no. o, [Link].s.
The.. d..i~ff n .nt p.im1tivt [Link]..tLJpe.1 rue. t
~ 'Jnt;~~pe..ctC\. .t'~
i) B\jU - ttYe.. 0ttupi~5 i byn or~e..rno~ · Tht -"[Link].. 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- [Link] 4 b~tu ori [Link]-'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 [Link] DJPl. [Link]
----~ i~ P-tOCLt : (.\:· [Link] 4 bycu cp fYH..mOM. [Link] ~1lll0\).)~ tht IEEE
- - - - -r ~ - - - - - + - - - - - - - -[Link]..cl or ~p'[Link]..tiOf\
- - - - - - .~ ih OoLLb\e.:
C,0-00 Dog
tr- [Link] II b-y r-u -o[' [Link]~J and 6tJLtoUl.S LE-E-E
[Link]
fN\I~ fomrny st-ctn C ' . ~ 0 \') Jce..p'Y'e.H.0 tCl_ tt
_•_v _n _._ _ __
- ~
~- f"-[Link] [Link]'- t-----~'~ - ,-
brud jN<1ll pug ~'r thcu.a.t.w., t':)pLcla..t-o. : t.n (fn.v-et [Link]. tl.j pL- ct.o..to.. [Link] !2 b1:JW
o..ge. ID ~ ~ tt me...mo:, 1-e. - -; lt [Link].s the. [Link].t.c~e . [Link].
tos~ ~VD ~ S"J, '5"'3f, [Link]. TS ( jt' t'OIIOW.S UlF -/1>"lmCLt "[Link]..t1Dnj
I ~-~ -
I - - . . . - - ~~ = = ~ . . > - - - - - -~
t ,n ~[Link] 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
~ -
'[Link]- iJ e1q1ne..d ru tht.. tcjpe., to lPhid, o. [Link]. c:~ [Link]~ ~ - 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"°[Link] ~ c.orwutfn1 ~ne... ~<J pt. o,fi) c.Q.o.t_o.
! Sl ) [Link] ru.t. tht cllr{[Link] i:LJpU of; [Link] in '.[Link]\? -~ ---- ~ o..notnu.- :ty\K or [Link]-a. jn Java.. ttjpt [Link]~ 1.1 ct.1v1 c1e.d into
~ - -~ -
-1-j Tht_ ctC\.[Link] In JGva. is c..[Link]·,pe__cf 1r\.to -two [Link] [Link].~nYiu .......,._;J, _ __ _ _two~pt_s_·_ _ _ __
l'r pYimltlvt [Link].s - ~~
~[Link] -[Link].9.
2> I\.IDn primitive. Dct..tC\..t~pu - ~
---~
' ~
- \. - - corn?i LUv \/l.5 Pn tup
) t-t~ r
wmpltcw;n, -
r pYD9rnrY1:1,[Link]
P~qra l"IIJ uo 5S
"
-- ':f C\.V(I..
1----1 h ~
-~ J a v'l"lJu ~~[Link]
to mp i le r U.C\.1 H
- . [Link],j(Y
r Lt vtl
lolJCl Wd t c.o cte
KLL
}LL
MU .
.- _ _ _ _ __, _
Rf\ M f-- ? MP ~
- - -1--
Ou tpu t
M\[Link]~\'1lLl% D1
ln tu pnt-Qbon:
P~ 1 t\l'f\ i -jC\,VC\
" \
1ClVD,__ ~ C l ( h1ri e.
-r-r,~~ ~
LA rie.. ~[Link] f'\e. [Link] - --
c:octe: -1 -
HLL
·r lLL
. -
--- --< >-- --- -+ - -
RA~ 1----1 tvl. p __,, o utp u..t
------+-
[Link] 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 [Link] ZCLtfo n ;
-- -
1Afhirt ([Link]'\)
-
{
I - --
- - -· to_g1c o~ thUOop
- --
-- -
~ rn c.:rr cl u "f
- --
r
SLqLltflU O\' t'[Link] :
1. 'In i ti [Link] ;z:0--tiO ()
~ - rnnctit1on .
~ --
~- lO()IC... 0( the Loop
-
4- lnc...'f / dlC 1 -
- -
E'lO-IY\Plt.-: pLLblic [Link].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 [Link]
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 [Link]> 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 [Link] \ e op [Link]..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
--- - --
.. [Link] [Link] ,nf
-- -
I ~w/2' : -
---- - - -
:----- l't I EXplcdn th t l)C1mincJ [Link] -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 [Link].9e.. nClmc- - - -- _
[Link]. 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 -- --
____ ___ __ - - - - - - - - - - - - - - - - - - - - -
- - -- -
[Link] Q. '.
- --
-je
r-
- -
'f
-- -
:\'.'
f
- -- --- -- - - --
publl c... c. [Link] s. pa..ttnn '2.. { ._ _
---+--
publ\c., sto...ttc.. 'lOld [Link] (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• [Link] ..,_ toop s
bLiC. tlaSi pa.ttu_ne, {_
~LlbL!C StO...t1C YOicl [Link]> ( 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~~[Link]. 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.. [Link] pa..tH,\J1if-{
:: [Link]-\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 - -
~ '[Link])_._0 u:Lp nl\..t to LJ;
- .r r
\
O<; IL .,,3
[Link], Jo' -".OWS 'itOYS
-==- -=
r , " ll t 1. '3
r 't t i .;)_ 4
t- :r l' 3 '3
t l' 4 .,_
f. cs- j_
~[Link], c:Ja.s.s po..u:un10{
l
r
public [Link], 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 [Link] stcLte.m e..nrs '? [Link]..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- [Link].ct1 tionoJ stC1.U... fY\U\tS Is , e..te. rre..d
to Cl.S the [Link]..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_ [Link] {1£. Lof'\ctirio~
tn Jcwa. wt. [Link].. ~{)l,n ~mpC>'-.tcm..t' c..,[Link].o...t $to..[Link]'lent5 Thty o.u :
n· tr Lon [Link] ti 01,
--+----
2.~ use.. i~ c{)nctition .
3>- 11..tse.. c..ondition
--- --
4~ sw t t c.h [Link] e.s .
-- - -
I ~~!U.. m . ou.t. p.>Jntt" - '' J;
1
t
-- ~
- -
s~~u. .[Link].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
[Link] ·, c, C..[Link] 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
[Link] 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 [Link]. iht inpu..t cLynamko..llti [Link]
i:\.-u.. nup oc, tk.l bL,1..Llt Cn [Link]\.S~ u:tLttd C\S fut .su:u1J1u. ctctss.
[Link])u hQpptrn to bt a. [Link] in [Link] in~; d{ tht. [Link] [Link] [Link].9t.
!All [Link] ~t, C'-.LC\..tln5 tw_ Obj tc.t 0~ tv..L St.a..nnL\ Ill DJLciL\. to [Link] ill
-----
P"-'"'l~tS . -
1hl "c "Y\e..tlA..oc:ls .t.n~tc\ e... tW [Link] 1..L'l\.,.ulh {_a.f1 bt.. [Link].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. [Link] ;
--
publ( G c. [Link] [Link] U...f) J8 Cl {
- --
[Link] C & ta..t-lc., \/D[cl ma..ln l Sth'n_g [ J OJLgS) {
[Link]) 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'[Link] 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 .[Link]• P"-[Link]),;
-- -
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~~[Link].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, [Link] pcutun18{.
[Link], stcwc., vo( c\ f\A..CUn (. StvLn.g t) 9~) i
Sc:.!lnnu .se, "'- nt.w [Link]\. LSLJ~ttm in);
11
S'-\stt.m ,oLtt - P"'-ln.t L &[Link].. tiA..L skc. or n 1 t1 J j
i'n t- n - .s [Link]'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 .[Link]...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 [Link]..LO el
-
pu-bue, sto..ti0 void fY\[Link] 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"- [Link]=- 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 [Link] . a.u...t - f }vi l'\.t l >t- Jj
- - --- -
J
-
LlS e. {
- -- -
11
sy~ t UY) , [Link] . p.M t'\.t- l ll) J
-- - -- - -
\. r
J - - -
S~ &tUY) . 0 LLt · p.u (\.tt_n L) J
---- - - -
'r
r
-;\ ---- - --
- -
- ---- - -
-
- -
- - --· ~~·- - - - -- - ~
-
~ - - - - - ----- - --
-
....
I "1) [Link]-tsk-it~~ ➔ p.w'1Acie9 ~ [Link]~ or tw. bW.U If) tlct~ts wtci i<1 ,ht [Link].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..[Link]\.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. . [Link]..lnin g • CWLCLY PAO~ ,ammin g;
impo.u JC\VCI. .llti.Q.. [Link].11.0U j
--1-----
[Link] [Link] A\YCLY~M~dtl {_
[Link]. struie, Sc.a..f'\nU sc..[Link]<.A ,;
-1--- ----
pu.b\lC, S t-c,LtiC, \10 tel Mal n ( Strt n g C 1 Cl't_~ 5) ,{
--+----
[Link]\nU- "' ntw SC...Qr\OU c~~~ttfYl-tO)j
sq~[Link] -oLLt •P"-[Link] t. 11 &nn.t . thctotQI c..oLtnr-or stu..ct..tnts lfl th't [Link] ;"J;
----+----
1n. r C..OtU1t° -= [Link].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 [Link] 11 1 lit J})j
aMCIJ -=- sc..a..[Link].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.,. [Link], o() stucWlt n uMbu. - " i LIii J-! 11 i.s ; " -f
d.\itiJJ ;
J
5
_ _ oi:, . I €::~ Is CU\ ownu 0() OJ'\ [Link]-flc<l lJvU.S[ ~wc.h MU Mttlt\plt. .[Link]..tiO()
W\ctu. rt C\.I\[Link]&t t\,l.L [Link] -StmnC\~ tvte_c.[Link]~olle..~e. ne1..1 roll\. b,[Link]
tDCCLte...c( Cl.t 4 [Link]..ff\t Ltt1e.s ._Rir1:no.t [Link]'.Ji()(e,1\.\()3 C.t>llt.C)~ CllSO hOJ ~ [Link]..~u
Lo<:.CLr:-~ctcu 4 cllfi t <!..ltie...1 cir tW....SlJClte.. [Link] J..l,ll (lbo\.e.. [Link].n'o £n tht. rt)ofY)
ot) G\. P"'-0q"fC\JY) ro [Link].c..t tL.u....ctlrfc~n..c- uti:u LL'[Link]?: rtd.s ptl"ltitutru [Link]
C\f'\'c.. LOt...o....te..cl .
~ pU.!olfC. tltt.5.1 f1 Y''rCllJ v0de .'.2 {
-1--- -- --
-- [Link]. sm,tic., 1101d~tl{) CStnngrJ CL-'[Link])
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 [Link].- 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 [Link];
----- - - -
_ St.>..ln9 a'Y'f(J~ = [Link] J~[Link] JtJ;
-
tu-"- tint i~ o J I< aM.-[Link] th j ft t) {
S L{iSn. .rr, . OLLt-p>J f\.t\.n ( ti [Link]. ttu- [Link] [Link]. Dti [Link] 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[[Link];
------ --
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 [Link] : lJ) j
'
.S~StUY). ou.t- pJJf\.ttn ( 11 mtQ t\.,u__u-D:J nUJY\.bu : 0 -+ tj+J) t
-
[Link] -=- St. •f\t~l') ';
-
r1
tl)J,..L\(\t i =o j lcQU . \[Link]:, 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].'\[Link] thjjtt){
.S 1J1run .o LLt -p.h.i(\_tio (" tmrc\e. .[Link] 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 [Link] HollSt ~()(Lf{)('. -Q.K P- wldch
[Link].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. [Link]\ch t ~OJ. '20.23 - .:.l0-'.>4 SiM()ai_ hru ec\tticltd m s, l\ct woc:rs 11D 1
1
po'[Link].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'
[Link],... bt.w<\.g~ ro ~ [Link]'f€...m JbN)e~, e., k?[Link], (U..tion cl'l'CtrnO. if\ tetch
1----- - -
----
O\ the. [Link]\_C\ ~trY,.r\C \l_ [Link]\fi to ~ee ct.1..t. (')vu Cll/ [Link] 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'.[Link].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 "'<.
[Link])C n·cctl(., \[Link] M.Q/() t Stri.n..9 C1 cu-9~ ) -l.
t ---
[Link]-K""' ntw ~[Link]~tr l&[Link].\n)~ __
syae_JY). [Link]. [Link].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'' [Link] Y tlA t to m.1 no . oti Mo 'Vi <'-s p.... ottuc.,d :j _
_ _~_K f),,[Link] tiOfl ~tnc~ lQ./\~ ~ ' -2,; - -
►n t mov , ,_ sc.,.nextrntU; - - -
tm cmtJt.J ~ ntw (n.t LlQftgJ [Link]..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 [Link])\.! 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 [Link]'[Link].s-
.Sm...ti c, M~tuoru
Hla.p O~j lt.t:S
0l9 Mlnt truto..n u . . 'l [Link] 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 [Link] nt.d etJ nu. l~Llu. .tioo op MLLLtipte [Link]'\.c.n.
--5 0~ ,StJ'\_Lltf)U..
lntt:tl'.'l~ie-
or [Link].\_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\.. £\[Link] ch cL'Lo..[Link] .
-r Stj,__l'2_5! i..O 'JC\VCL lJ bl,1...\J..t \ _f'l C'..lcLSs Loklch i.J [Link]\.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\.[Link] bt_C.hc.t1)9e_d
anu a Li [Link]'Lte...cl :__u: '..u ?\.,Lp1e...[Link].. d tA..SLn.t'J stnn.9 [Link] .
i [Link]..bu.. stvin g.5 ! Thl.\ t. GU.L tn l stn~.1 ~cLt c..cLn be... t...[Link]'. . cl oo u..
n,- ii [Link]...cl . tt ...!:::_ ~ p,eJ rntesl~i~o S'tnhg GLlrf u o/ St\f\(\_9
I t:,w.1..cle..f [Link]~e..1.
11) t.,cpLa.f () tkL cUb~t Mock~ ~t\l\1t.9 [Link].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~ [Link]~on
' D\ tu)O s mn~--5 bru e_c1 o.r) t1A..LlJ,.., rnntmt _ _
=_:- : This!:...._ LLSe....d 60~ pt..,[Link]'YfY11n~ tnt- c..ompo..,~:cson op ~,,.. . [Link]
~'r
tC\.clc\HB) o~ t~e.... t-tvo ~ t:~-1n9s
e.t se_ ,{
- -
I -5~1~[Link] ,[Link].f) t. 11 Re..rtttOUJ C\..U.. not [Link] ");
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)- [Link])..!t'."
~~
- ct.r\.r po o I
~
3► e_qu..a..l5tgno.e..[Link] This [Link] .iJ LLSu::l ro pt-\,~OJ.m srs...1n_s tcmpcLli.)ol)
iJ
I bLJ i~f)U,lif)~ ::[Link].L C...CU Ll .
• 1
~~o Cj-1t.a,-n : pLLbLi c c:t~..s P"-Og-\.0..mi -t
--
PLlbliL HCLtlC. voi cl [Link]() (St"1n9 r) Q.\.1JS) {
SU..\f)':) Sic:. ,, RRM.F\ II )
St-"..in9 S'd.:; u ·m.mc1 11 ~ -
[Link]\.in..ttJ1. C." [Link]..te.f\t [Link]\Json ") j
ir Cst tqu..C\.tS ~gl'[Link]. 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.. [Link] 2)
,~ cs1=-=s:>) { 1
---1------s-'-yju..[Link]-p·[Link]~e.i;-e__i-enc..u c°'_e... [Link] 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 [Link]\W\1S o('
--
~~ m ~ plolo w<u1~m"'"~lblt ~-;:;,~, ~" lUm<d "' u. -;;"°1' [Link]) not
-= -=--- ASCtr -
stn:n91 bl tompro..1nl ~ Kt.~~ vCLlu.u Ct:_ llA.t -'-[Link] tt\1Vt chcQC\CWu _____ ~ L [Link]~~ 6'1Cplrun w-\~ a.0 [Link]
p \~.\Cll"f1• ~ - ' -~ t l ' . PLlbl'i~S P-"Dg\Cll'fl.:2 {
-----
PLLbllc [Link]\S.l P"-tq,,_ctm1 { :% [Link], 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 ~ "[Link]" j
- ~ --
St-\.H)9 S1 ~ " QAMF) II ; ~ St-"-incJ s~" "51~ : _
SL"-1nq ~~ ~ •· IQm~,.,; .~ SL , [Link]\LCLl (S'.));
~tptm.~Lr p-"-i nttn C Sl. [Link].\.LfD cs,)) j .~ S'ilt~ -OUJ.- pn'[Link]) Uli_ J_· __ _
[Link]. CLLt -pMnctn C" c.c-nw,r [Link] [Link] n J) ~
~
-:r-
ip ( SI [Link]'\J--10LS'l) _•_=_D_)_ -<._ _ _ __ -AS ~U.() Ln fut aJ::,ov-e.. p.1cocpnrn 1/Jl mCt-Kt- LlSl or [Link] Mt.t\Aocl lO
- ...~
_ _~_ljm.. rn .oLLt - p,,irttif\ ( u ~t-ti()~l EqLLUI q) ; me.. e. [Link]-e.n..11 o() 2-- Sttlr,c g buJ: we.. OJtL µ_Jl..kin~ op IIY\mut [Link]
~ - -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..[Link].- [Link] J..~ we. fD"-t..t i J- t1) [Link] tw.. ~ LLLlt •
~ t u n .o Ltt- p-"-l [Link] r 11 ~[Link] ~not lL'\LLCL 1i )_) ~
5 ----j
1 'J ~ t 'ICp.t..oJn :mfY'[Link]!. [Link] s [Link].
r ~
sym:.m. cu.t-. p,\.lnt-ln l" QL~[Link].. [Link]. on ') _; ~ public. [Link] P-"-og,Qf<li{
~
1rts1~=50){ ;--~ - pubUc. static:, vote\ mcun Cswn9 [. 1 Cl-\CjS) {
-~
s~trn-oLLL .potnttn c, l<[Link] QJ,,L [Link] I l)_j Su-.1n9 Sl e nuuStrinJ t"[Link] 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 £...[Link] "); ~ s~run .ou.r . P"'-in..ttn l" [Link].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:[Link].c_!:t' 1hi1 ;:~thod .i.J wu:I 1ll ~ck ~vat.L~J--- ~ LtSt{
t~~ [Link] tlu strin9J by igno'Yif\CL tw.. [Link] . tr s~sw'().[Link].\rctln c.•stnf\~J rio t t:quctl d))
t ~ ~ l~
- --
_p - - -
-tht ru t\ e...[Link] [Link]) [Link] bung. [Link]-Lcl D r,ot t..qcl.R/ 1...~
tn .,-3:;1, 32 <;:i o t ht n it [Link] .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 [Link]. ( s'2..) -..,; o) sysctM. ou.r- [Link] ( '' Rc..t tn()tu cw._ 1c9tLCLl " ) i
--~
T [Link]./.
~~ ·~---- SyS tUY\ . ou.t p'Y'lf\. tiJ\ ( 1' [Link]..rn.u an. n.o c tqu..0-1 " ) ;
- -~ _
~
, ___ t
~ I)_
.__,
~ '
~
~
- - - - - - -~"-. . - - - - - , - - - - - - - - - -
~ ~~ jt u t'IA..\.td.d s [Link]. S~ Lt 1.~ not t~\H.O..C'I SG.f't
~tJJ.n.9 Pllol
~ '> lt '-.Llru ir, CL s![Link]. tlAHO..Cltd GI [t Mlf)~,tf) Cl IYlU.lt1\CA,\tMtcl
----- - :..r"'6 [Link]'\[Link]\.t,t-flnU- [Link] t trWiMf'ilYltnt · H{OC.l iJ· il tic1sU.'I.
----- - ~ timl'.. i..i .tow(s _lo_w_>_·_ __ i.() [Link]() ,
Cl bLtlts_
~ "1> lht pu..~TTY\ctnu. is low ctue tlJ !:\~ lh(_ [Link])U JJ fQSCl\~lS
Si ------- ~ mou t1mt L,OO~LLl'[Link]. 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. [Link], su:ir<n.r\t i.s c...CLLlt.d as t1,u. \/LP St.9mmt [Link] DLLt oti rh,
1,n [Link]' [Link] suinqs in J<\va. [Link]. [Link](L\.Lf\t L \ : : C l ~ mLmOJc Jt()l\'UJ'\lJ tlAcll (M, hcw-e. ~[Link](, ~t.G \;v-..L \i'lSt' pYioru~.
-A mutOb\t Sc.\.ln~_..LI cle.~m.d [Link].. swnc! l-L> t!..[Link].,bLLooucreoJe.d _'- - -= ic Tho...e.. ii etl,L\Ji. OO P"'-[Link]\p-tion [Link].t tu.1:.i',tLJwohcl StQtit. it, sto.t1c
111 "-l\l~~tr\tu\ Lllinj stun5 Bllt£u.. (, snJn~ [Link]..clu [Link] ~ ------+-- is q-rt.. n LO.D~ldv..Ld CTl be. [Link] [Link] sLC\.tit., clon t hlpnsrntJ
-i t, l<lbUt~as5 P1t091-a.m~{___________ ______ -~ [Link].t'[Link] '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[[Link](. ~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 [Link] u sbJ , nw> .st n.f\ql,l,Uld v, c, RfHYJ fl ") ; -r en a.. cto..ss wt [Link] [Link]' 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 [Link].. Mtmbu.s UM. stn..1it., \tCWCL!oU., ~[Link]. blOtk ~ ScC'ltic. Mtthoct.s
'-'
Sb1. [Link] ( .Sb.t); i [Link] - StQt\t. !,A(.IY\.bns C\.U (\Qt'\ - stCL[IC, '10.V\[Link], non - s CTLtlt, .blDtk5 i
-------------
sy,tuv\.QLLt p'"ntiJ\ C.sb1J_; non stcm'c., µc..tbtodJ .
~ ~ 'T\,L stCLtic. VClYl:ctbLL CW\ be. [Link].d to~ both sra.t1c. ~ [Link]\.t:lt,
tis sun in tht. o..bove. t-XD..fYlpt t1,u [Link]. sc.11in9-5 make. [Link]. o(' \( ~xra M tlYl b U 5 .
opprnct ~oc..tiona.u1:y to mv..9e.. [Link] [Link]\[Link] op two nrin~s [Link]\..lJ --t Th e. f\QJ'\ - sw..ttc. vo..n'[Link] [Link]\. be. a..[Link] antLJ bl..l no.D [Link]. Mm1brn
o..s t~~ [Link]. s t n n ~ . [Link].a..tiono\\' ttA.t oustin~ _strin~s- ~ ~,
£~ ~ [Link].. \\,u_ t'l)LLovl.'1'n9 f;,[Link]!
L ~1 ...., ,
'.ln\l' 1<;) C'<Plwn ttu. ctiffL\.[Link].._., [Link] -Stlingeiu.1tu o/ stvtn9e:,[Link] [Link]·. ~ : _, pubt1c etas s P'rocpctrnJ .,C
sni0ge:,1.;H u s tving t,w..Lde~ , ~-.. [Link]. int a, b, e,;
- - - - - - - - ~~
fl [l l~ u.~[Link] bOJ. -'11PMH(!~ ~is [Link]..d ~-t-"- .,[Link] 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 [Link]\ 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 [Link]'t ~~ 1 t wcLs [Link].u.d ,n Jc:[Link],
~ 1
.~~ c. • GOj
YUS\0(\ i ,O v [Link] ion i. S- __,;!, ('()" L DO j
~\ R QCc. Lonct11:1on dou not CKtt\. ~ · ft -'-.!lOOJ
4> R.0-ce. LOIKlitrOf\ [Link].5
'-,~
I~
~ • ':\llO; 1hl- non [Link].., bLOtll, w-{(1 bt cLu [Link] 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);

[Link] ttm ou..r p,Jni:-ln c b); \/Olcl [Link]..[Link]-..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 . [Link]..tln t' E-nru.. t11.:_Jhim..iplt. [Link] :") j
syntm -ou.t P"-lntln (n); [Link] ~ sc...nt'X..t-DoLLb\e u;
.[Link] p'lintln lo), SLJStt.m . nu.t . [Link] l" [Link] tw. time. [Link] ,'');
t-imt. - sc. . ne::[Link].t J;
\JOid cUs p'2tl {
systtm. OLLt.. pJ..1ntir\ (.a); \IO i ct. u,,_ULucu·e LJ ,

sy 1 n.m 01..Lt . [Link] tln I b),;


[Link].L. pnntL0LcJ;
Sljstun-oLLt printlnlm); - + - - - - \!Olcl [Link]~
.<:~!tun ou.t p"Yintlr, (n ); ~ t m . o..ut . p.>[Link]..n l' t-hc. sl b "+ si)_;
f ---
s lj5ttm ◊LLt p·,·fotln ( o),,
l.
[Link]. c..[Link] .1..[Link].h {
pu..bll c. 5tCLtie, ~otd [Link] l sw'n9 l J cu.:p )_./.
l<JI\.U..tCI pi:.ogrcuY1 tT.> ciepict the. [Link]('[Link]., . .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..[Link]:f Qtt..[Link]..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 \/[Link]?lt.J u:1.n be. ~a..lltcl tvrn wtt\\l)LL-C- oe...o..-ting ttu_ clr.)jlct-. -fi , [Link]..tOCL.t-QU;
This [Link] be. [Link] 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 [Link] 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.,[Link] C) {

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

'r tloetet etdd ( jn,t- a, [Link] b) {


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

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


"-[Link];..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) {


[Link].U.n a, b;
~ cU)u.b u.. [Link] ( in. r a , cLo LL b U b) {
unu.n o.t b;
r clout?le , [Link] c\ (int a, 6lOCLt b, clUUbl.t. c.) {
~ e. t tU fl 0. i b t e, ;
r
'r
pu \? Lt c, [Link] s LC\.u nch 2 -{
pu bUc. s [Link], ~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
[Link]\.tOY c.1 = MW C..[Link]-01 c. J _;

[Link] . ou..t . p.;,,intln ( C.j ,o..d.d (a, b)) j

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


[Link] .oLtt p-'lrnttn (u,ClC ld( p,q)J;

[Link]..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 [Link] .

191 Wl)Ctr ii YOUt.p"--[Link] (, whc\.t C\.'1.c. UA-t..\.LLlU tD b'- rtJLIDcuu-1 whi\{- ~f)Ul,pJu. ~ -- ~ell ~ nuu ooglJ j
- [Link] the.. P-"OCJ1CT'1\. _ ___ _ _ - -~ '----- ~ i . f)Q!Ylt ~' tomm~ --1 c..~,O'T c..cvrnot O..[Link] DJ\.[Link] fVH. Mbt'rS
[Link]\.tic0 "-[Link].s rt ..t:.w. p.;-ow.s op£ovicli~- stu..wJ:Lf ro lht mosc ~uH1<'Lt rhe- tlC\l!
..,______f- 011. [Link];
impw..tctnttcmponrn,oD .o.n olojtct. dl· ~udCt-tGIUj
Tht 1'.Ltl£.J tn bL tit)llow<..d 1A.>hiu [Link]~~ 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) [Link].l StC\.ttr)'U.f)l, .j_ I) [Link] - - - - -~-t1_>-+--t-"1__ - -tll- ,u
_ p_9c_~rnt [Link] art~ o/ ~[Link]
~~ -4 c..LClSS Dog {

P"'-lvC\. te. .[Link] name;


V-..Uci..te, a [Link] ~ t.f)c_0._pJl..[Link] Cl [Link].s_s
c.[[Link] 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 [Link] I ) { [Link] ~ 0 ;
ncuYJt c " tommy 11 ;
[Link] ~ ct;
CI...CJt= JO; [Link] = t,
[Link] , 4000 J
b"-H..ct a IIPUB'' J \/0\c\.. (_JLtC\CLtCLt)_ { _ _ _ _ _ _ _ __
[Link]~ ~ 11
b¥1lwn 11 ; sy&ttffi .OLLL -p>Jntlf\ [0QfY\{) i
--------
sy~tlfn,OLLt - jWntln (.b,9cu..d)

\/oict [Link]); { [Link].l r»Jnti.o llOLO~)j

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


StjHUYI DLLt P"-intln (b1u...cO; SyWl'r1-0\,L.t •pri(ltln [Link];
[Link] [Link] tc.0Lo1Jj
[Link].. [Link]\t\f'\ (tOlt)j [Link] Stnnc.! gt..t(\lOJY)t u{
SyHtm. OlU PJ--lnttn la....9~); •[Link].J'\ I) t:1.m t 1
[Link]. \/Oicl St.t(\ltlf'V\( [Strin9 1Q orne.,) {

pubUc [Link] LCLLLOtht { tht~-f\.[Link] = 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