/** * This is a sample class to show demo about * javadoc * *

* This is a sample demo of * paragraph *

* * @see MultiLineCommentsDemo * @author Madan Reddy * @since 1.0 */ public class JavaDocCommentsDemo { public static void main(String[] args) { } /** * Take two {@code int} numbers as input * and add them *

* For example, 2+3 =5 *

* @param num1 Represent first number * @param num2 Represent second number * @return sum value of first and second number */ public int sum (int num1, int num2) { return num1+num2; } }