Comments in Java: ---------------------- Comment is the - TopicsExpress



          

Comments in Java: ---------------------- Comment is the description of the features of the programming code. Java permits two types of comment. 1. single line comments. 2. multiline comments. Single line comment ------------------------ This comment is used for writing comment for single line by using double slash symbol “//”. Eg. //this is the comment for one line Multiline comment --------------------- This comment is used for more than one line by using opening “/*” symbol and ending “*/” symbol. Comment statements are enclosed within these symbols. Eg./* this is the Multi line comment */
Posted on: Mon, 26 Aug 2013 06:36:00 +0000

Trending Topics



Recently Viewed Topics




© 2015