

McqMate
Q. |
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» C. Looks like a comment. |
View all MCQs in
Java ProgrammingNo comments yet