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 known as static diagrams?

0 Answers  


Explain all elements of a State-chart diagram.

0 Answers  


What is Object Constraint Language (OCL)?

2 Answers  


What are the advantages of using UML?

0 Answers  


Is UML restrictive to system development?

0 Answers  






Why do we need UML diagrams?

0 Answers  


Tell us the difference between activity and sequence diagrams?

0 Answers  


What is the origin of UML?

1 Answers  


Why analysis is a major part in object designing?

0 Answers  


What are the elements in State Chart diagrams?

0 Answers  


What is the difference between translational and elaborational approaches?

0 Answers  


Is use case diagram static or dynamic?

0 Answers  


Categories