Java Comments | Java course

715 views 5 slides Jan 12, 2019
Slide 1
Slide 1 of 5
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5

About This Presentation

Java comments:
→ Java comments are statements that are not executed by the compiler and interpreter.
→ The comments can be used to provide information about each line of code.
→ It can also be used to hide program code for specific time.

Types of Java Comments:
→ Single Line Comment:
→ T...


Slide Content

Java Comments Rakesh P

Java Comments Java comments are statements that are not executed by the compiler and interpreter. The comments can be used to provide information about each line of code. It can also be used to hide program code for specific time.

Java Comments Types - Single Line Comment The single line comment is used to comment only one line. //This is single line comment

Java Comments Types - Multi Line Comment The multi line comment is used to comment multiple lines of code. /* This is multi line comment */

Java Comments Types - Documentation Comment The documentation comment is used to create documentation API. /** This is documentation comment */