What output is displayed as the result of executing the following statement? System.out.println (“// Looks like a comment.”);
A. // Looks like a comment.
B. The statement results in a compilation error.
C. Looks like a comment.
D. No output is displayed.
Answer:A
What output is displayed as the result of executing the following statement? System.out.println (“// Looks like a comment.”);
A. // Looks like a comment. B. The statement results in a compilation error. C. Looks like a comment. D. No output is displayed.