Multiline comment begins with /* & end with */ - Java

Q.  Java: The comment must begin with /* and end with */ is known as?
- Published on 24 Jun 15

a. Multiline comment
b. Single line comment
c. Both A & B
d. None of the above

ANSWER: Multiline comment
 
A multiline comment is used when we need various lines to comment in a program. We use this /* to start a comment and */ to end a comment.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)