+ 1

Can you explain me the deference between these comments /** */ and these /* */ ?

about comments

12th Jan 2017, 1:13 PM
Christina Repou
Christina Repou - avatar
2 ответов
+ 1
Java comments starting with /** ( two stars used) can be processed to create javadoc documentations.
12th Jan 2017, 7:20 PM
ifl
ifl - avatar
0
There is no difference between any comments. No matter they way you make it. The only thing that you may consider, is following the IDE or text editor you use, you can specify more details about methods. Example on sublimText : /** * @author * @version * @param * @return */ If you do not start by "/**" you will not have any visual distinction. Another example for Visual Studio. It's quite the same thing, but the structure of the comment is automaticly created if you type "///" before the method.
12th Jan 2017, 1:23 PM
Guillaume BONHOMMEAU
Guillaume BONHOMMEAU - avatar