Java OOP SHORT
ANSWER QUESTIONS BASIC
OBJECTS SOLUTIONS a)
class b)
capital
letter (upper case letter) c)
instance d)
lower
case letter e)
instance
variables, data fields f)
object,
instance g)
coco h)
three i)
5.0
(because q refers to the same location in memory as p does) j)
3.5
(because changing q is in fact changing p – both refer to the same location
in memory) |
|