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 does associations, aggregation and composition in a class diagram mean?
What are UML diagrams?
Does a concept HAVE to become a class in Design?
Why is UML used?
What is Object Constraint Language (OCL)?
What is a communication diagram in UML?
What are components of an mvc architecture?
What is the influence of rule-sets in object assertions?
What are the roles played by packages, modules and wrappers in uml?
what is difference between Extend and Include with example?
How do you create a use case diagram in UML?
What is crc card?