Hi.I didin't understand the difference between documentation comments and multi line comments.Can anyone explain it to me please | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Hi.I didin't understand the difference between documentation comments and multi line comments.Can anyone explain it to me please

7th Oct 2017, 5:35 AM
Kourosh Sajjadi
Kourosh Sajjadi - avatar
3 Answers
+ 2
Multiline comments are comments that span multiple lines. You start this type of comment by: /*This is a comment*/ Documentation comments are special comments that have the appearance of multi-line comments, but they generate external documentation of your source code. These begin by: /**This is a comment**/
7th Oct 2017, 11:32 AM
Rishita
Rishita - avatar
+ 4
hey bro i guess this question is already answered on sololearn....here is d link https://www.sololearn.com/Discuss/16190/difference-between-multi-line-comments-and-documentation-comments
7th Oct 2017, 5:41 AM
Stanley Simon
Stanley Simon - avatar
+ 3
Thank you friend.
7th Oct 2017, 5:59 AM
Kourosh Sajjadi
Kourosh Sajjadi - avatar