JAVA

Comment Syntax:

comments are used to document and explain your codes and program logic. Comments are not programming statements and are ignored by the compiler, but they VERY IMPORTANT for providing documentation and explanation for others to understand your program

the syntax of the java programming language supports three types of commenting illustrated in the following table.


EX. Int x; // a comment

ex./* the variable x is an integer */



Subscribe us on Youtube

Share This Page on


Ask Question