Question: All of the JavaDoc code has been removed from class JavaDocAUK below public class JavaDocAUK { private int counter; public JavaDocAUKO { counter = 0;


All of the JavaDoc code has been removed from class JavaDocAUK below public class JavaDocAUK { private int counter; public JavaDocAUKO { counter = 0; } public int addToCounter(int y) { return counter + y; } } write JavaDoc code for class JavaDocAUK, so it would generate the following output Method Detail addToCounter public int addToCounter(int y) An example of method add to the counter Parameters: y - a sample parameter for a method Returns: the sum of counter and y a. /** * addToCounter * public int addToCounter(int y) * An example of method add to the counter * Parameters: y - a sample parameter for a method * Returns: the sum of counter and y */ b. /** * public int add To Counter(int y) * An example of method add to the counter * Parameters: y - a sample parameter for a method * Returns: the sum of counter and y */ C. None of the listed choices d d. /** * An example of method add to the counter * @param y a sample parameter for a method * @return the sum of counter and y */
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
