0

What are nested comments?

4th Mar 2016, 7:39 PM
Kegan Jones
2 ответов
+ 4
A nested comment is a comment inside another comment. In Java you can't nest a multiline comment into another multiline comment, however you can nest a single line comment into a multiline comment (but does this make sense?) /* This is a comment // this is a nested comment This is another comment */
25th Jan 2016, 10:46 AM
Francesco Urbano
Francesco Urbano - avatar
0
Nested comments are like this /* multi line comment //single line comment */
1st Jul 2016, 8:18 AM
AnsHuman Aaditya
AnsHuman Aaditya - avatar