+ 1

can somone explain that "comments" lesson from java language?

im a beginner, need some help please? ;)

14th Mar 2018, 9:53 PM
Rpg Dank Montages
Rpg Dank Montages - avatar
3 Answers
+ 3
Whatever you write in a comment doesn't affect your code, that comment being just a simple comment(in the real meaning of the word), that explains the others what you did and maybe sends a message or explains to you what you did, after a long time.
15th Mar 2018, 5:19 AM
Andrei Cereanu
Andrei Cereanu - avatar
+ 13
what doubt U got in that lesson ? //there are examples available too , comments are ignored by the compiler , its the text which might be needed to understand the code better & to provide some information //probably U got doubt in "documentation comments" ... right ? for that U must follow comment section of documentation comment lesson , wait I will be posting some links also https://www.sololearn.com/Discuss/438155/?ref=app https://www.sololearn.com/Discuss/774226/?ref=app https://www.sololearn.com/Discuss/383818/?ref=app
14th Mar 2018, 10:11 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 4
While you code you would use comments for people and you, yourself to understand that code and what you were doing. //is a single line comment /*is a comment for multiple line */
14th Mar 2018, 9:58 PM
Paul Yan
Paul Yan - avatar