Explain Class Diagram in Detail.
Answers were Sorted based on User's Feedback
Answer / indra
It describes the types of objects in the system and the
various kinds of static relationships that exist among them.
Is This Answer Correct ? | 23 Yes | 3 No |
Answer / d.n.dayakar reddy
Class Diagram describes about that class like the class
name,what are all the varaibles used
(private,protected,public etc.,) what are all the defferent
methods are there inside that class.
Is there any interfaces are used by that class or not
Is This Answer Correct ? | 14 Yes | 6 No |
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 |
Answer / guest
It models class structure and contents using design
elements such as classes,packages and objects.
It also displays relationships such as
containment,inheritance,associations and others.
Is This Answer Correct ? | 8 Yes | 2 No |
What is the importance of modeling in UML?
What is the best software for UML diagrams?
What are the roles played by packages, modules and wrappers in uml?
Which software is used for UML diagrams?
What does state model represent?
What is deployment diagram in UML?
What is package diagram in UML with example?
What is the purpose of a use case diagram?
What is a Persistent, Transient Object?
7 Answers Ora Tech, Syscon, TCS,
Can you tell us a few advantages of creating a model?
What are the key principles that underlie patterns?
When do you prefer to use composition than aggregation?