73. 1. What will be the result of attempting to compile and run the
following program?
A. NULL
B. BLANK
C. STRING
D. This program will not compile.
E. This program will error at runtime.
74. 2. Given :
What will the program print when compiled and run?
A. NULL
B. STRING
C. print nothing.
D. This program will not compile.
E. This program will error at runtime.
79. What will be the result? (Choose al l that apply.)
A. Compiles error at S1.
B. Compiles error at S2.
C. Compiles error at S3.
D. Compiles error at S4.
E. Compiles error at S5.
F. It will run and print "200300" after removing all the errors.
80. 5. Which are legal argument types for switch statement?
(Choose all that apply.)
A. byte
B. boolean
C. short
D. D. int
E. long
F. char
G. String
81. 6. What will be the result to run the following program?
A. Cool
D. CoolColdWarm
B. Cold
C. CoolCold
E. ColdHotAndWarm
83. What is the result?
A. 1000
B. 1010
C. 1011
D. 1100
E. 1101
當有多個 if 、 else 時 , 若沒有以大括號標出範圍 , 則會
以較內層的優先配對。例如 if()...if()...TIIP else, 則 else
會和第二個 if 配對。