0
About asterisks
What is the function of the asterisk again?
3 Réponses
+ 1
/* comments */
/** comments for javadoc tool */
+ 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;
}
0
what are comments?