2 Answers
New Answere.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
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message