w*********n 发帖数: 439 | 1 Question 8
Based on the naming recommendations in the book, which of the following
is a good identifier for a constant that will be used to hold a base
shipping charge?
Answer
a.
BASE-SHIPPING-CHARGE
b.
baseShippingCharge
c.
BASE_SHIPPING_CHARGE
d.
BaseShippingCharge |
w**z 发帖数: 8232 | 2 I will choose C
following
【在 w*********n 的大作中提到】 : Question 8 : : Based on the naming recommendations in the book, which of the following : is a good identifier for a constant that will be used to hold a base : shipping charge? : Answer : a. : BASE-SHIPPING-CHARGE : b. : baseShippingCharge
|
w*********n 发帖数: 439 | 3 Explicit casts must be used to perform
Answer
a.
narrowing conversions
b.
any conversion between two data types
c.
widening conversions
【在 w**z 的大作中提到】 : I will choose C : : following
|
w*********n 发帖数: 439 | 4 Which of the following can you not assign to a numeric variable?
Answer
a.
a numeric literal
b.
an arithmetic expression
c.
another numeric variable
d.
null |