+ 1

What is the difference between comments with to lines "//" and one line and an asterisk "*/"?

10th Nov 2017, 11:29 PM
Daniel San Miguel
Daniel San Miguel - avatar
3 Answers
10th Nov 2017, 11:46 PM
Manual
Manual - avatar
+ 6
That is easy one minute edit lesson #3 of the Java Course Defines the purpose of //single line comment /* a multi line comment */
10th Nov 2017, 11:39 PM
Manual
Manual - avatar
+ 3
if you want to add comment in one line you can use // like for example : //end of my task search if you want and multi line you can use /* like for example : /* this code now i don't needed bb.setText (""); */
10th Nov 2017, 11:45 PM
Mohammed Mizory
Mohammed Mizory - avatar