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 business firm has the following details as of 31.03.2023 :
If a, b and c are the median, mode and range, respectively of the data: 8, 5, 4, 3, 2, 7, 3, 10, 9, 17, 12, 3, 8, 4, then what is the value of (3a-2b+c)?
How has Anti-defection law impacted the dynamics of the Indian Political system?
1. Has provided for greater stability in the respective legis...
3rd Framework Working Group meeting under the Finance Track of India's G20 Presidency will be held at the Bolghatty Island, Bolghatty Island is situated...
Which ports connect special types of music instruments to sound cards?
With reference to Jal Jeevan Mission (Urban), consider the following statements:
1. It complements the Goal-6 of United Nations Sustainable De...
Which one of the following cannot be called "Amphibian of the Plant Kingdom" ?
A cost incurred in the past and that cannot be recovered in the future is called ________.
If day before yesterday it was Monday, then which will be the day on day after tomorrow ?
According to the Code on Industrial Relation 2020 the term “Wage” Includes?
I. Basic pay
II. ...