Multilined Comment Vs Documentation Comment ? | Sololearn: Learn to code for FREE!

0

Multilined Comment Vs Documentation Comment ?

what's the difference ?

8/20/2018 3:28:42 AM

Time Loop

2 Answers

New Answer

+1

e.g. /* this is a multi-line comment in Java*/ /** @author: MarJan @param is used to store the sum of to integer */ The 2nd one (probably written a bit incorrectly since I haven't used it in a while) is a JavaDoc "comment" which will be used when generating technical documentation of your project and will describe the author and for example variable sum; notice that JavaDoc comment starts with /** and basic multi-line comment starts with /*, also multi-lined comment won't be displayed in the documentation

0

I see. thanks