

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


esei r2,:
-2 (^) Jftai E^!i Ai'Ei.EO
rl
2008.11.
Acariemic Honesty:
arguments by (^) "reference" to a method.
\€t y^
va.,+
st.e $*^ q)lP1s^ d
x\lz tb
Why are instance members of a class^ typically^ declardd^ as^ private?
oblect &*^t^
("*\
\o^t- \o
, \qc'les^.<- uar'r,g"b\r9 (^) 'I "ra-\A a.r< &c\anted ?!\J6<.- st
o.{'\ (^) ivt.glr.} (^) nurw\qtrr-- ( "*o.q,.
-- ta^ L*^ \o^ a vrlf.e .
\9 caL.e} e^coP3-i>^"-^- ' (^) ./
2/. t\
\e-\ + $a€{^ 4aanr^ <^a'Je
your
Signatures of the methods are^ sufficient).
tr- vrv6^L4'^ 6(^ \fa -F t<- rre-u.*^ tr5^ ru-s- *^ A$ce^ + I
f-r,a'.c-
Cfv€4C,^ (^) "'"r), /
qz-r".c-
4.. (^10 points)
a. Explain the difference bdtween how^ Java^ handles a^ Clock^ type^ array and^ a^ Clock^ type
^,
t variible^ in^ memory. A'picture^ may be^ a^ sufhcient answer.^ (8 points)
W/rrl I (^) l- b. What^ are^ two or more^ referenees^ that^ point^ to the^ same^ object^ called?^ (2^ points)
(^) .,*1C*r[e-tfE_->
T ut./ ,/
I \ \ocat\an!-f (^4) L tftcco,1. *.1c\ock
{c.v.*Ur' Cioce *,.rC,.r:^ r€w^ Cu.gt);
fr sry (^) L\ocV __f,-
=@/ V
cVc
q-
v
.*e [8,
t) \t *- (^) aVrez.ts o&{"^.. k-- (^) ,o-,- (^) o\iect
a.r<. e(r+ (^) c!tra9e
af eaaLe\ar