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.
In the Shanghai Masters final, Djokovic ______________by Jannik Sinner in straight sets, a match that highlighted the _____________talent in men's tennis.
Fill in the blank with most appropriate word from the given options.
She was scolded ____ arriving late to the meeting.
The brutal incident ………a ……… of ………….. in the society.
The Foreign Ministers will put their _____ together to prepare a draft _________ to be adopted at the summitÂ
After recapitalization, government should _________ on a linked reform.
(A) expedite (B) bind (C) hustle (D) speed up
...University in Allahabad will have an input --------- the project.
Despite the _______ weather, the outdoor event was a huge success.
It took us hours to wake Willie from his ___________ stupor.Â
Jane used volunteering as an ___________ to help her come to terms with her husband’s death.Â
More and more governments are having to step in and override these magistrates who arrogantly refuse ____________ note of public disquiet.