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 unified modeling language (uml)?

692


Explain about dynamic diagrams?

771


What are the static diagrams in UML?

757


Why can't I easily interchange uml models between modeling tools?

672


What are the roles played by wrappers in uml?

957


What is crc card?

808


What are the elements which are used in activity diagrams?

690


What is modeling? What are the advantages of creating a model?

743


What is the best software for UML diagrams?

691


What is a pattern?

711


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

1740


Explain about executable UML?

774


On what basis I will select or choose an uml modeling tool?

699


What are the advantages of creating a model?

658


Can you name the types of modelling?

676