+ 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.

13th Jul 2017, 6:01 AM
SUBHASIS BISWAJIT KAR
SUBHASIS BISWAJIT KAR - avatar
2 ответов
+ 2
because there are three types of comments on Java 1) single line comments. //........ 2) multi line comments. /*..........*/ 3) document comments. /**............*/
13th Jul 2017, 6:15 AM
Vaibhav Tandon
Vaibhav Tandon - avatar
0
document comments. /**............*/
17th Sep 2022, 3:41 PM
Dilan Tharaka
Dilan Tharaka - avatar