- 2

how to use single line comment?

14th Mar 2018, 7:06 AM
shalini vyas
6 Answers
+ 9
The start of a single-line comment in Java is denoted by double slash. // this is a single-line comment
14th Mar 2018, 7:37 AM
Hatsy Rei
Hatsy Rei - avatar
+ 7
// Single line comment /*More then one line comment*/
14th Mar 2018, 9:21 AM
D_Stark
D_Stark - avatar
+ 2
well it works like this //text
14th Mar 2018, 7:11 AM
Akshat
Akshat - avatar
+ 1
<!--text--> html
14th Mar 2018, 7:07 AM
Akshat
Akshat - avatar
0
In java m asking
14th Mar 2018, 7:09 AM
shalini vyas
0
// and start commenting
14th Mar 2018, 7:11 AM
Farshaad Heydari
Farshaad Heydari - avatar