What is multiline comment in java
Answers
Answered by
2
Java supports two types of comments: /* multiline comment */ : The compiler ignores everything from /* to */ . The comment can span over multiple lines. // single line : The compiler ignores everything from // to the end of the line.
aasthasharma197:
my pleasure.. hope it will help you
Answered by
0
Explanation:
Multi line comments in Java start with /* and end with */. You can comment multiple lines just by placing them between /* and */.
For example:
/* Hello mate
this is the answer */
Hope it helps...
Please mark me as brainliest...
Similar questions