Explain Class Diagram in Detail.

Answers were Sorted based on User's Feedback



Explain Class Diagram in Detail...

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

Explain Class Diagram in Detail...

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

Explain Class Diagram in Detail...

Answer / 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

Explain Class Diagram in Detail...

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

Post New Answer

More UML Interview Questions

What is the importance of modeling in UML?

0 Answers  


What is the best software for UML diagrams?

0 Answers  


What are the roles played by packages, modules and wrappers in uml?

0 Answers  


Which software is used for UML diagrams?

0 Answers  


What does state model represent?

0 Answers  






What is deployment diagram in UML?

0 Answers  


What is package diagram in UML with example?

0 Answers  


What is the purpose of a use case diagram?

12 Answers   Satyam,


What is a Persistent, Transient Object?

7 Answers   Ora Tech, Syscon, TCS,


Can you tell us a few advantages of creating a model?

0 Answers  


What are the key principles that underlie patterns?

0 Answers  


When do you prefer to use composition than aggregation?

3 Answers  


Categories