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
What are class diagrams in UML?
Does UML guarantee project success?
What are the rules specified for invariants in first order and second order information?
What is UML diagram?
What is UML and its advantages?
What is the importance of modeling in UML?
Detail whether UML can be used as a programming language?
What do you mean by focus of control?
Every object has : state, behavior and identity - explain
How does elaborating software requirements lead to inconsisteencies!
What is a uml use case diagram (ucd), and when should you use it?
What is an object lifeline?
Explain about the difficulties of interchange format of UML?
What is elaboration?
What are UML Messages?