Java Classes Question:

How to run doc file in Java?

Java Classes Interview Question
Java Classes Interview Question

Answer:

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.


Previous QuestionNext Question
Any concept you wish to implement in a Java program must be encapsulated within a class.

A) True
B) False
In this example class-var = new classname( ); class-var is a variable of the class type being created

A) True
B) False