+ 2

How do I comment?

9th Sep 2019, 6:53 PM
John
John - avatar
6 odpowiedzi
+ 4
// for a single line /* for multiple lines */ https://www.javatpoint.com/java-comments
10th Sep 2019, 12:09 AM
CodeX
CodeX - avatar
+ 3
html = <!-- text --> js, css, java, c/c++ = /* multi-line */ js, java, c/c++ = // one line java = /** documentation */ python = # comment etc etc etc... haha or what do you want to comment? good luck!! 💪
9th Sep 2019, 7:05 PM
Eze
+ 1
I still not understand for now🙂
9th Sep 2019, 7:13 PM
John
John - avatar
+ 1
What language ? john mmegwa
9th Sep 2019, 7:23 PM
Minerals2016
Minerals2016 - avatar
+ 1
Java
9th Sep 2019, 7:40 PM
John
John - avatar
+ 1
You use comments to document your code. If you or someone wants to look at in the future reading the comments can make it easier to understand. Heracles Ezzequiell mentioned how to do it.
9th Sep 2019, 9:47 PM
Adam Kollgaard
Adam Kollgaard - avatar