+ 1
You can add a Java doc style comment by using:1. // characters in the beginning of the line. 2. /** and */ characters to wrap a
In the above question option 2 is correct but how with 2 aestrick symbol? For Javadoc more than 2 Aestrick symbol required after forward slash.
2 Respuestas
+ 2
because there are three types of comments on Java
1) single line comments. //........
2) multi line comments. /*..........*/
3) document comments. /**............*/
0
document comments. /**............*/