Pls can somebody explain why you would put a multi-line comment between /* and */ on the same line according to the lesson from | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Pls can somebody explain why you would put a multi-line comment between /* and */ on the same line according to the lesson from

comments

30th Nov 2016, 2:12 PM
Adepoju Oluwafemi Abiodun
Adepoju Oluwafemi Abiodun - avatar
2 Answers
+ 1
Admittedly I didn't look at the lesson, but: Future expandability and arbitrary preference seem relevant from here.
30th Nov 2016, 2:16 PM
Kirk Schafer
Kirk Schafer - avatar
0
I have used comments like this: /*****************Class Variables****************************/ That way I can divide my programs into sections that make it easier to read and navigate. Note: the example I provided is from some of my Java work.
12th Jan 2017, 2:03 AM
Aaron Sbarra