Description
A. | ||
B. | ||
C. | ||
D. |
Explanation & Answer
Thank you for the opportunity to help you with your question!
---------------------------------------------------------------------------------------------------------------
A class diagram consists of a rectangle divided into three sections.
In the diagram, classes are represented with boxes which contain three parts:
- The top part contains the name of the class. It is printed in bold and centered, and the first letter is capitalized.
- The middle part contains the attributes of the class. They are left-aligned and the first letter is lowercase.
- The bottom part contains the methods the class can execute. They are also left-aligned and the first letter is lowercase.
An example is given below.
ANSWER: B. rectangle
SOURCE: https://en.wikipedia.org/wiki/Class_diagram
---------------------------------------------------------------------------------------------------------------
Please let me know if you need any clarification. I'm always happy to answer your questions.