Java Reference
In-Depth Information
//
sum += i;
In summary,
a block comment does not reliably comment out a section of code.
Use a sequence
of single-line comments instead. For language designers, note that nestable block comments are not
a good idea. They force the compiler to parse the text inside block comments, which causes more
problems than it solves.
< Day Day Up >
Search WWH ::
Custom Search