+ 6
What is the difference between multi-line comment /* */ and documentation comment /** */ in Java?
/* this is a multi-line comment */ /** this is an important multi-line comment */
4 Answers
+ 3
Comments like /** .. */ are for javadoc tool (included in Java installation) which automatic generate html documentation for your codes with this comments as headers for next class or methods.
like
https://pasteboard.co/IsBtgbe.png
or
https://docs.oracle.com/en/java/javase/12/docs/api/java.base/java/lang/String.html
+ 2
About static method to java?
+ 1
Use // text when you want to commenta single line of code. Use /* text */when you want to comment multiple lines of code. Use /** documentation */ when you would want to add some info about the program that can be used for automatic generation of program documentation.
+ 1
multi-line is to use multiple lines. And documentation comment is to attach some file by the comment.
Hot today
Python — File Handling
0 Votes
Loop question, I've tried everything that I knew I just don't know. Please help me solve it out
1 Votes
Help me solve this (using loop)
1 Votes
What is wrong? Error on test.
1 Votes
Help me wiht python
1 Votes