Java | Sololearn: Learn to code for FREE!
0

Java

Note that Java does not support nested multi-line comments. However, you can nest single-line comments within multi-line comments. توضیح بدید لطفا☝️ Please explain to me☝️

22nd Jan 2019, 10:26 PM
Ruby
Ruby - avatar
3 Answers
+ 5
/* // // */ Ok /* /* */ */ No ok, because first */ closed the first /* So the parser find */ extra You can try in code playground yourself
22nd Jan 2019, 10:28 PM
Gordon
Gordon - avatar
0
Thanks
22nd Jan 2019, 10:42 PM
Ruby
Ruby - avatar