Home » Interview » Technology

Which of the following is not used for commenting in java?

Correct Answer: /** **/

Explanation:

  • //               is a single line comment

  • /*  */          is commenting on one or more lines

  • /** */         is documentation comment

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion