Thursday, March 23, 2017

Comments in Java

Comments:

Use // text when you want to comment a single line of code. 
Use /* text */ when you want to comment multiple lines of code. 
Use /** documentation */ when you would want to add some info about the program that can be used for automatic generation of program documentation.

No comments:

Post a Comment