In an Java interview, the Following question was asked..
How do you represent a class in UML?

Answer Posted / gb

Through a Class Diagram.Class Diagram is created with a
rectengle.The top level is the name of the Class,below that
the data /variables are defined and below that the
operations related to the Class are defined

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is UML Architecture?

566


What are the different views that have to be considered before the buildup of an object oriented software system?

645


What are the types of event?

562


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

581


What are the types of UML diagrams?

550






What relations are there between the Class Diagrams and Domain models. 

1523


What is crc card?

630


What is class diagram?

571


Can you give us a brief defining the architecture?

524


What are the key principles that underlie patterns?

540


What is an activity diagram?

601


Explain the different elements of a Use Case?

537


What is transition?

569


What is the importance of modeling in UML?

553


Explain about aggregation?

576