+ 2

What's difference between java doc comment and multiline comment ...i feel that both are same

21st Sep 2017, 3:31 AM
GurpreetKaur Rahedi
GurpreetKaur Rahedi - avatar
5 Respostas
+ 3
Multiline comments can contain any number of lines while the other can contain just 1
21st Sep 2017, 3:33 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 2
The way they explain it in the course makes it sound like it's the same thing, and Javadoc comments really are just fancy multi-line comments. In Eclipse, Javadocs can be added before methods to give additional information about the method.
21st Sep 2017, 3:38 AM
Ashton Durrant
Ashton Durrant - avatar
+ 1
But java doc comment is same as multiline comment only....
21st Sep 2017, 3:34 AM
GurpreetKaur Rahedi
GurpreetKaur Rahedi - avatar
+ 1
yes i got......Javadoc is a tool which comes with JDK and it is used for generating Java code documentation in HTML format from Java source code which has required documentation in a predefined format.
21st Sep 2017, 3:41 AM
GurpreetKaur Rahedi
GurpreetKaur Rahedi - avatar
0
Javadoc comments use 2 asterisk and an asterisk every line. Also they interpret documentation tags like “@author”
3rd Oct 2017, 6:02 PM
ReShaun Pintard
ReShaun Pintard - avatar