Free Data Structures and Algorithms Course









Subscribe below and get all best seller courses for free !!!










OR



Subscribe to all free courses

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 


 
© 2021 Learn Java by Examples Template by Hubberspot