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.
- What is the expected agricultural benefit of the Ken-Betwa River Interlinking Project?
How much money has been raised by REC Ltd through the issuance of green bonds?
Which company has launched India's first-ever UPI-ATM as a White Label ATM (WLA) with the National Payments Corporation of India (NPCI offering cardless...
On what occasion was the wax statue of Dr. B.R. Ambedkar unveiled at Jaipur Wax Museum?
When was the India–EU Ideathon on “Combating Marine Plastic Litter” launched?
Shubh Aarambh Deposit retail term deposit scheme for senior citizens has been launched providing the benefit of an additional interest rate of 0.50% for...
What is the primary role of the MisrSat-2 satellite jointly developed by China and Egypt?
Who was appointed the next US Ambassador to India and Special Envoy for South and Central Asian Affairs?
Who is likely to inaugurate the 46th session of the UNESCO World Heritage Committee?
Which state is known for the traditional dish 'Bai'?