What are comments in Java language?
Answers
Answer:
Comments are the statements which are not executed while the program is compiled . The comments are generally written so that users can understand the logic of the program .
Explanation:
Comment lines in JAVA are of three types .
One is the single line comments ,which is written in a single line .
The second is the multi line comments written in several lines .
The third is the documentation comments which consist of full explanations and a whole document like structure .
These comments help users to identify the logic of the program and are useful for beginners in JAVA .
ANSWER:----------
{ comments can be used to provide information}
{explanation the variable, method, any statement. }
{It is also used in the java program }
EXAMPLE:--
{/* This is a multi-line comment.}
{ * The problem prints "Hello, World!" to the standard output. */ }
hope it helps:--
T!â!ANKS!!!