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

What are the Dynamic diagrams in UML?

591


Does UML guarantee project success?

1745


What are the goals of UML?

711


What are the rules specified for invariants in first order and second order information?

586


What is an object lifeline?

551






What are the three types of modeling in UML?

602


What are the advantages of using UML?

528


What is class diagram in UML with example?

651


What is the importance of modeling in UML?

557


Why is UML used?

636


What are the various components in sequence diagrams?

520


What are the features of UML?

518


What is the difference between Activity and sequence diagrams?

552


What is a pattern?

552


What is an activity diagram?

606