+ 1

Difference between multi line comments and documentation comments?

9th Jul 2016, 8:19 AM
Anup Shetty
4 Respuestas
+ 5
The multi line comment consists in /* At the beginning of the line that you want to comment and at the end you use */ that way everything between /* and */ will be omitted by the java virtual machine. The documentation comment consists in /** at the beginning of the text, or statement that you want to be part of the documentation and ends with */ this time when you run a Javadoc the lines inside /** and */ will generate a HTML format document. if you are using Eclipse or NetBeans as your java text editor you can run and generate the Javadoc of the text that you put between /** and */, as you can see the difference between multi line comments and documentation comments are: /* multi line comments */ use one asterisk at the beginning of the comment line, and /** Javadoc or documentation comments */ use double asterisk at the beginning of the documentation line.
9th Jul 2016, 7:31 PM
Samuel Mayol
Samuel Mayol - avatar
- 1
what is data structure and prociger and please help me
16th Jul 2016, 8:22 AM
siddhik nizami
siddhik nizami - avatar
- 2
structure are malloc calloc and insert delete create and so on.
29th Jul 2016, 4:26 PM
siddhik nizami
siddhik nizami - avatar
- 2
I think google is the best option
30th Jul 2016, 2:36 PM
Vineet Aggarwal
Vineet Aggarwal - avatar