Answers

Question and Answer:

  Home  Java Classes

⟩ How to run doc file in Java?

There are two kinds of Javadoc comments: class-level comments, and member-level comments. Class-level comments provide the description of the classes, and member-level comments describe the purposes of the members. Both types of comments start with /** and end with */.

@author: Describes the author of the document. Used in class-level comments

@param: Describes a parameter of a method or constructor.

@return: Describes the return type of a method.

@throws: Describes an exception a method may throw.

@exception: Describes an exception.

 183 views

More Questions for you: