Explain Class Diagram in Detail.

Answer Posted / sri

Class diagram describes set of classes and interfaces based
on the business entities of an use case.

Elements of class diagram
--------------------------
1) classes
2) Member variables (privat -, public +, protected #)
3) operations(-,+,#)
4) Association between the two classes and Multiplicity.
5) Relationship b/w the classes (Inheritance,
Generalization, specialization,aggregation,composition)

Is This Answer Correct ?    12 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is UML restrictive to system development?

3429


What is collaboration diagram in UML?

772


What is the best software for UML diagrams?

692


How does elaborating software requirements lead to inconsisteencies!

2332


What is profile diagram in UML?

745


What are structural diagrams in UML?

692


What are the operations on facets supported by uml?

849


What are the roles played by wrappers in uml?

957


Name 9 modeling diagrams that are frequently used?

703


What are the advantages of using UML?

734


Define three type of design patterns?

750


Does UML diagram have relationships?

786


How are the diagrams divided in UML?

784


How a uml use case is diagram different from a traditional flow chart?

703


What is object diagram in UML?

779