Which principle suggests that derived classes must be substitutable for their base classes?
- Encapsulation
- Abstraction
- Inheritance
- Polymorphism
The principle suggesting that derived classes must be substitutable for their base classes is "Polymorphism." It allows objects of derived classes to be used where objects of the base class are expected, enabling flexibility and extensibility in software design.
Loading...
Related Quiz
- How do system testing strategies differ when implemented in an agile development environment compared to a waterfall development environment?
- What is the primary purpose of conducting stress testing on a software system?
- ______ maintenance involves making changes to a system to fix any errors found in the software.
- Why is it significant to prioritize test cases during software testing?
- Fill in the blank: "_____ is the quality attribute that relates to the degree to which a system or component can function correctly in the presence of invalid inputs or stressful environmental conditions."