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.
A graduate of Fergusson college he was one of the recipients of Shyamji Krishnavarma’s fellowship. He was deeply inspired by the ideas of Mazzini and ...
Consider the following statements with reference to the organizations formed during late 19th century:
1. The Poona Sarvajanik Sabha was founded ...
The Indian Home Rule Society was established in which year?
He developed a spiritual practice called Internal Yoga. One of his close spiritual collaborator, Mirra Alfassa, founded an ashram in his name in Pondic...
The "History of British India" is a three-volume work by ________.
In the context of Indian history, what was the Dandi March
Consider the following statements with reference to the Ghadar Party:
1. It was founded by expatriate Indians to overthrow British rule in Ind...
Which one of the following policies was used by the British to keep Napoleon at a distance?Â
In the context of the decline in the revolutionary, consider the following statements:
1. Gandhi’s ideas of Mass Nationalism
2. Mor...
Who led the English forces to victory in the Battle of Bedara against the Dutch in Bengal, securing British dominance in the region?