What is the result?
A. An exception is thrown at runtime.
B. "String is empty" is printed to output.
C. Compilation fails because of an error in line 12.
D. "String is not empty" is printed to output.
Answer:A
What is the result?
A. An exception is thrown at runtime. B. "String is empty" is printed to output. C. Compilation fails because of an error in line 12. D. "String is not empty" is printed to output.