The value of an int is undetermined.
The value of all numeric types is zero.
The compiler may issue an error if the variable is used before it is initialized.
The value of a String variable is (empty string).
The value of all object variables is null.
第1题:
A.The value of b is 2.
B.The value of a is 3.14.
C.The value of b is 2.00.
D.The value of a is 3.141.
E.The value of a is 3.1415.
F.The value of a is 3.1416.
G.The value of b is 2.0000.
第2题:
Sometimes it is desirable to connect a member both by riveting and welding. Which statement is TRUE concerning this procedure?
A.Tearing through the member is more likely in this type connection
B.The weld may be broken by the stresses caused by riveting
C.The weld increases the tensile stress on the rivet heads
D.The welding must be completed before the riveting commences
第3题:
A.protected
B.public
C.no modifer
D.private
第4题:
Which statements concerning the value of a member variable are true, when no explicit assignments have been made?()
第5题:
Which statements concerning the correlation between the inner and outer instances of non-static inner classes are true?()
第6题:
Which of the following statements describe the use of the keyword
static?
a) Within the body of a function: A static variable maintains its value
between function revocations
b) Within a module: A static variable is accessible by all functions
within that module
c) Within a module: A static function can only be called by other
functions within that module
第7题:
Which statements concerning the switch construct are true?()
第8题:
A.static
B.final
C.const
D.abstract
第9题:
A public member vairable called MAX_LENGTH which is int type, the value of the variable remains constant value 100. Use a short statement to define the variable.()
第10题:
Several @functions can execute multiple statements. Which one of the following initializes a variable and can increment in during the operation?()