Multiple Choice
Which of the following statements with comments is(are) valid?
I. int cnt = 0; /* Set count to 0
II. int cnt = 0; /* Set count to 0 */
III. int cnt = 0; // Set count to 0
A) Only I is valid
B) I and II are valid
C) II and III are valid
D) Only III is valid
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q3: What will be printed by the statement
Q41: Which statement about number literals in Java
Q65: What is the output of the following
Q68: What is the result of the following
Q69: What does the following statement sequence print?
Q71: What is the output of the following
Q72: Which is the Java equivalent of the
Q74: What will be printed by the statements
Q75: Which one of the following is a
Q98: Which operator is used to concatenate two