ANSWERS GRADED A+ LATEST UPDATE.
An object's operations are implemented
as ANS >>> methods
An advantage of composition is the fact
that we can sometimes reuse classes
that we have already written, instead of
,having to design and write new classes.
ANS >>> True
In Java a variable must be ____ before it
can be used ANS >>> declared
In Java class members are declared with
the keyword ANS >>> static
Method overloading distinguishes
between methods based on ANS >>>
both number of arguments and data
types of arguments
,During what activity do we directly
analyse the language of the problem to
identify objects, their attributes and
their behaviours ANS >>> noun/verb
analysis
Immediately after the object's variables
are initialized ANS >>> a constructor is
called
Every Java program consists of at least
one ANS >>> class definition
Which of the following is/are true about
arrays? Choose all that apply.
, a) the elements of an array are accessed
by an integer index
b) the elements of an array all located
contiguously in memory
c) the elements of an array all have the
same data type
d) an array is a set of variables
e) none of these ANS >>> Answer: a,
b, c, d
In Java an expression like the one below
will evaluate to
new Bunny ("Flopsy", 8) ANS >>> an
object reference