Comments

Comments are an important part of larger programs. In this framework, we can place the summaries written by our function. Thanks to them easy to find in the case of larger projects, but also when other people can not understand our code can reach for our description.

Comments are visible only for us, the compilation are ignored and have no effect on the program.

In Java, there are two types of comments:

// Text – the text is placed after doubling slash is recognized as a comment until the end of the line
/ * Text * / – text embedded in these tags is treated as a comment by a number of lines of code.

Cookies help us deliver our services. By using our services, you agree to our use of cookies. More Info | Close