Question
Which of the following is NOT one of the SOLID principles
of software design?Solution
The SOLID principles are five core design principles in object-oriented programming that ensure software is modular, maintainable, and scalable. These principles are:
- Single Responsibility Principle (SRP): A class should have only one reason to change.
- Open/Closed Principle (OCP): Software entities should be open for extension but closed for modification.
- Liskov Substitution Principle (LSP): Subtypes must be substitutable for their base types.
- Interface Segregation Principle (ISP): Clients should not be forced to depend on interfaces they don’t use.
- Dependency Inversion Principle (DIP): High-level modules should not depend on low-level modules.
- Single Responsibility Principle: Part of SOLID.
- Open/Closed Principle: A core SOLID principle.
- Interface Segregation Principle: Clearly defined in SOLID.
- Liskov Substitution Principle: Integral to SOLID principles.
According to India State of Forest Report 2021 which among the following state of India has the largest forest cover area wise?
In which language is the film "Everyone is a Hero" that has been chosen as India’s official entry to the best foreign language film category at the 96...
Consider the following Subjects:
1. Health
2. Forests
3. Protection of wild animals and birds
4. Wei...
How many gold medals did India win at the 66th International Mathematical Olympiad (IMO) 2025?
In which session of Kumaon Congress the resolution related to non-cooperation with the British government passed?
Who was appointed as the new governor of the Reserve Bank of India in 2025?
President Draupadi Murmu released a postage stamp in whose memory?
Which of the following countries will host the 2026 G20 Summit to show its steadfast commitment to the G20 initiatives for a global geopolitical and eco...
Which village of the state was selected 1st prize for the water conservation category by the Union ministry of jal shakti?
Which company has partnered with PayU to introduce instant credit cards to its Indian users?