Pin It

How to use Javadoc Comments in Java program for Documentation ?.

Program to demonstrate how to use Javadoc Comments in Java program for Documentation.





Click here to download complete source code 


/** 
 * This class demonstrate usage of javadoc comments.
 * 
 * @author Jonty.
 */
public class JavadocDemo {

	/**
	 *  
	 * @param number1 first int value
	 * @param number2 second int value
	 * @return sum of number1 and number2
	 * @throws no exception
	 */
	public int sum(int number1 , int number2) {
		return number1 + number2;
	}

}



Click here to download complete source code 


Please Give Us Your 1 Minute In Sharing This Post!
SOCIALIZE IT →
FOLLOW US →
SHARE IT →
Related Posts Plugin for WordPress, Blogger...

Post your related queries below ...

comments powered by Disqus
Powered by Blogger.
 
© 2012 Learn Java by Examples Template by Hubber Spot