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

1 answer
5 votes
19.8k views
asked Mar 16, 2020 125k views
Aswathy Bose asked Mar 16, 2020
by Aswathy Bose
8.4k points
1 answer
0 votes
125k views
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.