OOAD & UML Interview Questions
OOAD & UML Interview Questions
OOAD & UML Interview Questions
Can method be overloaded based on different return type but same argument type? Describe some techniques for expressing business rules/constraints either in UML or via other means.
2.
3. 4. 5. 6. 7. 8. 9.
Describe the use of UML stereotypes in one of your recent projects (you used stereotypes to express what?). Feel free to include small example. Describe useful application of an extends use case (in what situations would you use an extends use case instead of any of the other kind of use case relationships?) Differentiate Aggregation and containment? Differentiate between template class and class template. Differentiate between the message and method. Differentiate persistent & non-persistent objects? Differentiate the class representation of Booch, Rumbaugh and UML? been generated? Why?
10. Do you feel UML (or other types of) models have any value once the implementation code has 11. Explain the difference between composition and aggregation. 12. Explain the difference between design model and an implementation model. 13. Explain the different relationship notations in UML that you have used (e.g., generalization, association, and so on.)
14. If familiar with it, describe how you used any one of the gang of four design patterns in recent
model you produced.
29. What is the difference between cohesion and coupling? Why are strong cohesion and loose
coupling patterns generally recommended in OOAD?
30. What is the format in which model can be saved inventor/tool neutral way? 31. When does name clash occur? 32. Whether unified method and unified modeling language are same or different? 33. Which UML diagrams have you used? Explain when to use one or the other. Use Case Diagram, Class Diagram, Sequence Diagram, Activity Diagram 34. Who were the three famous amigos and what was their contribution to the object community? 35. Why generalization is very strong? 36. Would you use sequence diagram or an activity diagram to model process flow that has lot of conditional flows and concurrent processing?