About asterisks | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

About asterisks

What is the function of the asterisk again?

21st Nov 2019, 6:25 PM
Walt Rothschild
Walt Rothschild - avatar
3 ответов
+ 1
/* comments */ /** comments for javadoc tool */
22nd Nov 2019, 2:25 AM
zemiak
+ 1
Commentary is any additional text, a note written for people reading the code for better understand. The compiler ignores it. in your example: class TheirClass { /* this is example of comment this comment is longer */ // other way how to write comment, just for one line String main; }
2nd Dec 2019, 10:10 AM
zemiak
0
what are comments?
2nd Dec 2019, 8:39 AM
Walt Rothschild
Walt Rothschild - avatar