+ 4
Comments in java
documentation comment is for 2 lines. can we use it for 3 lines?
2 ответов
+ 17
/* <anything > */ ==== /*<*anything*>*/ ==== /**<anything>**/
do u see any difference between multiline comment and documentation comment ???
//try to see ... observe things carefully ☺
//note ::: u can enter any number of lines between multiline comment thats why its name is multiline comment 😁 ...& documentation comment is also multiline comment ... only "*" added
//more u observe ... more u learn
+ 4
In Java, the single-line comment is: //
Java's multi-line comment is : /* */. the comment text goes in between the two *s.
the multi-line comment can be any number of lines long.