Don't closed the comment with // again? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Don't closed the comment with // again?

https://code.sololearn.com/wgKx0kd5pljg/?ref=app

1st Jul 2018, 1:09 PM
jessica valencia
jessica valencia - avatar
2 Answers
+ 8
// Single line comments do not need to be closed. they end when a newline is encountered. /* multi-line comments need to be closed explicitly. check the php lesson for more info. */
1st Jul 2018, 1:30 PM
Lord Krishna
Lord Krishna - avatar
+ 2
Thank you Lord Krishna
1st Jul 2018, 2:46 PM
jessica valencia
jessica valencia - avatar