Home »
MCQs »
Java MCQs
Multiline comment is created using ___
6. Multiline comment is created using ___.
- //
- /* */
- <!-- -- >
- All of these
Answer: B) /* */
Explanation:
Multi-line comments start with /* and ends with */. Any text between /* and */ will be ignored by Java.