196k views
4 votes
Which of the following can be used to record the behavior of classes?

A) Javadoc comments

B) Nouns and verbs in the problem description

C) Polymorphism

D) UML notation

1 Answer

5 votes

Answer:

A) Javadoc comments

Step-by-step explanation:

It is used for documenting the java source code in HTML and java code documentation. The difference between multi-line comment and javadoc is that ,javadoc uses extra asterisk, For example-

/**

* This is a Javadoc

*/

It is used to record the behavior of classes.There are various tags used in this like @author,{@code},@exception and many more.

User Adam Asham
by
6.8k points

Related questions