Start learning 50% faster. Sign in now
The Single Responsibility Principle (SRP) states that a class should have only one reason to change, meaning it should have only one responsibility or function. This principle promotes cohesion by ensuring each class handles a specific part of the software functionality. For instance, a Customer class should handle customer data, while an Invoice class manages invoice generation. Adhering to SRP simplifies debugging, enhances maintainability, and prevents interdependent changes from cascading through the codebase. Why Other Options Are Incorrect :
Taps Q and R can fill a tank in 24 minutes and 32 minutes, respectively. The efficiency of tap S is 75% greater than that of tap Q. If tap R's efficienc...
Pipe A and B can fill the pool in 35 minutes and 10 minutes, respectively. Pipe C can empty half filled pool in 35 minutes. If all the pipes are opened ...
Pipe ‘A’ and pipe ‘B’, together can fill 20% of a tank in 6 hours while pipe ‘C’ takes 34 hours to empty it. ...
Tap A and Tap B fill a drum of volume 648 liters in 12 minutes. If their efficiencies are in the ratio x:y respectively and B alone takes to fill the c...
Pipes 'J' and 'K' can fill a tank in 12 hours and 18 hours respectively, while pipe 'L' can empty it in 36 hours. All pipes are opened together when the...
Pipe ‘A’ can fill a tank in 15 hours whereas leak ‘A’ can empty it in 45 hours. If they both operate along with pipe ‘B’, then the given tan...
A bath can be filled by the cold water pipe in 20 hrs and by the hot water in 30 hrs. Mohit leaves the bathroom after turning on both pipes simultaneous...
Pipe ‘X’ can fill a tank in 20 hours while pipe ‘Y’ can empty it in 24 hours. They were operated alternately starting with pipe ‘X’. Find th...
A single tap takes 12 hours to fill the entire tank. Initially, only one tap is open, and it fills half of the tank. At that point, four additional iden...
Pipe P can fill half of the tank in 8 hrs 5 min and pipe Q can fill the same tank completely in 16 hrs 5 min. Another pipe R can empty the full tank in ...