February 2014
Beginner
1248 pages
62h 25m
English
a) public.
b) class.
c) new.
d) type, name.
e) default package.
f) float, double.
g) doubleprecision.
h) nextDouble.
i) modifier.
j) void.
k) nextLine.
l) java.lang.
m) import declaration.
n) floating-point number.
o) single.
p) %f.
q) 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) 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.
e) False. Such variables are called local variables and can be used only in the method in which they’re declared.
f) True.
g) False. Primitive-type instance ...
Read now
Unlock full access