+ 1
What is the difference between comments with to lines "//" and one line and an asterisk "*/"?
3 Respostas
+ 6
Here is an example
https://code.sololearn.com/cKxW65As4jPZ/?ref=app
+ 6
That is easy one minute
edit
lesson #3 of the Java Course
Defines the purpose of
//single line comment
/*
a
multi
line
comment
*/
+ 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 ("");
*/