Java Class:3 Learn About Comments

Java Class:3 Learn About Comments

The different types of  comment used by java programming language are :
1.  /* text */
The compiler ignores everything from /* to */. 
2. /** documentation */
This indicates a documentation comment (doc comment, for short). The compiler ignores this kind of comment, just like it ignores comments that use /* and */. The JDK javadoc tool uses doc comments when preparing automatically generated documentation. 
3. // text

The compiler ignores everything from // to the end of the line. 

 Click Here for : Class 3rd

No comments

Powered by Blogger.