Start learning 50% faster. Sign in now
The Single Responsibility Principle (SRP) in SOLID design principles states that a class should have only one reason to change, meaning it should encapsulate only one responsibility. This principle promotes cohesion and ensures that each class handles a single task or functionality. For instance, in an inventory management system, a Product class should handle product-related data only, while a separate Inventory class manages stock levels. Adhering to SRP reduces complexity, makes code easier to understand, and simplifies debugging and testing. By isolating responsibilities, developers can introduce changes without affecting unrelated parts of the system. Why Other Options Are Incorrect :
‘Global Financial Stability Report’ is prepared by the :
What is Cash Reserve Ratio for banks, as stated by RBI as of September 2022?
In an organization, in what sequence will the following functions of a manager be performed?
1. Motivation
2. Controlling
Calculate the interest coverage ratio of a company is it reported Net profit after tax of Rs.60,000, falls under 40% Tax rate and has 15% Debentures of ...
An agreement sold over an exchange to buy/sell a commodity or financial instrument at a designated future date is known as:
What is the minimum number of members required to be incorporated as a Nidhi company?
Which bank recently secured a $500 million loan from the International Finance Corporation (IFC) to support microloans for underserved women?
As per the priority sector lending (PSL) norms as revised in March 2025 , w hat is the revised loan limit for purchase /construction of housing in metro...
What is the aim of building Digital Public Infrastructure for Agriculture in India?
What is the basic idea behind Maslow's Hierarchy of Needs theory?