Which of the following does not describe a valid comment in Java?
A) Single line comments, two forward slashes - //
B) Multi-line comments, start with /* and end with */
C) Multi-line comments, start with */ and end with /*
D) Documentation comments, any comments starting with /** and ending with */
Correct Answer:
Verified
Q16: If the compiler encounters a statement that
Q19: A Java program will not compile unless
Q44: A variable's scope is the part of
Q45: Which Scanner class method reads a String?
A)
Q47: Assuming that pay has been declared a
Q48: This is a variable whose content is
Q50: Which one of the following methods would
Q52: Java is a case-insensitive language.
Q53: Although the dollar sign is a legal
Q54: What will be displayed as a result
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents