Object-oriented design methodologies differ in their approaches:
- Create classes and operations based on the nouns and verbs found in a written problem statement or specification.
- Focus on collaborations and responsibilities. Use CRC Cards (from Kent Beck) as a design aid.
- Translate real-world objects directly into object types and their behaviors into operations, known as the analysis model.
Strict modeling of the real world leads to a system that reflects today's realities buyt not necessarily tomorrow's. The abstractions that emerge during design are key to making a design flexible. Design patterns help you identify less-obvious abstractions and the objects that can capture them.For example: Design a chess system using object-oriented principles.
1 comment:
Largest Collection of Technical Interview Questions and Answers
Technical Interview Questions and Answers
Post a Comment