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 currency of South Africa?
Which organization will generate the Unique Identification Number (UID) for doctors in India?
India ranked at ________position in the Global Hunger Index (GHI) 2020
Which of the following private sector bank has launched two new products – loan against deposits and dollar bonds – for non-resident Indians at its ...
TPL is the world’s first linear alkylbenzene (LAB) manufacturing company to be certified by the Bureau of Indian Standards (BIS). Where is TPL hea...
- What is Dubai’s global rank for Greenfield FDI projects in 2024?
Which of the following is not a pollution-caused disease?
The Bumchu Festival is celebrated at which monastery?
Which billionaire topped the list of most highly compensated CEOs on the Fortune 500?
The UN Women headquarters is located in which city?