MCQs
Total Questions : 25
| Page 2 of 3 pages
Answer: Option E. -> Do not declare the method with any accessibility modifiers.
Answer: Option C. -> Compiles and runs printing
Answer: Option D. -> (I), (II) and (III)
Answer: Option C. -> The program will compile, but we cannot create an object of Circle with a specified radius. The object will always have radius 0.
Answer: Option E. -> Compile with error
Answer: Option B. -> static block A
Answer: Option E. -> one 20
Answer: Option B. -> static
Answer: Option A. -> Compile with error
Answer: Option C. -> abc