In an Java interview, the Following question was asked..
How do you represent a class in UML?
Answers were Sorted based on User's Feedback
Answer / dinesh kumar sahu
class is a rectangle shape ,class is divided in to three
part 1.name of the class 2.attribute 3. operation
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / 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 |
What are the goals of UML?
How are the diagrams divided in UML?
What are class diagrams in UML?
How do you convert uses cases into test cases?
Difference between Activity and Sequence Diagram?
How to identify the actors in a ucd?
What are UML diagrams?
what is difference between old & new version of uml?
What is use case diagram in UML?
What is class diagram in UML with example?
What is mean by seamlessness in object-oriented systems development?
Brief explanation of all elements in activity diagrams