what does it mean that documents purpose comments /** */ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

what does it mean that documents purpose comments /** */

I was reading one book for java there I seen. that 3rd types of comments as we already known two types 1. is. // 2. is /* */ but if any one known about use of that 3.rd and type & how it's different rather than any other two!??? help me to figure it out!!! thanks...for reading my question😘😘😘

27th Jul 2017, 6:40 AM
Bhavin Kanzariya
Bhavin Kanzariya - avatar
3 Answers
+ 2
With the third type you can automaticly create documentations oft your code. If you run special programs they look in these comments for keywords and creating an documentation of your classes and their methods and add your written comments to it. The first two types of comments doesn't contribute to this documentation.
27th Jul 2017, 6:52 AM
Sebastian Kühn
Sebastian Kühn - avatar
+ 1
thanks a lot
27th Jul 2017, 7:21 AM
Bhavin Kanzariya
Bhavin Kanzariya - avatar