January 2014
Intermediate to advanced
736 pages
70h 43m
English
a) public.
b) class.
c) new.
d) type, name.
e) default package.
f) instance variable.
g) float, double.
h) double-precision.
i) nextDouble.
j) modifier.
k) void.
l) nextLine.
m) java.lang.
n) import declaration.
o) floating-point number.
p) single-precision.
q) %f.
r) primitive, reference.
a) False. By convention, method names begin with a lowercase first letter and all subsequent words in the name begin with a capital first letter.
b) True.
c) True.
d) True.
e) False. A primitive-type variable cannot be used to invoke a method—a reference to an object is required to invoke the object’s methods.
f) False. Such variables are called local variables and can be used only in the method in which they’re declared. ...
Read now
Unlock full access