Question: Which of the SOLID principles does this class break: class Foo { public: virtual void doAThing 1 ( ) = 0 ; virtual void doAThing

Which of the SOLID principles does this class break:
classFoo { public: virtualvoiddoAThing1()=0; virtualvoiddoAThing2()=0; virtualvoiddoAThing3()=0; virtualvoiddoAThing4()=0; };
Single Responsibility Principle
Liskov Substitution Principle
Dependency Inversion Principle
Open/Closed Principle
Interface Segregation Principle

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!