Question: Which of the SOLID principles does this class break: Snippet Snippet class Foo { public: int member 1 ; int member 2 ; int member

Which of the SOLID principles does this class break:
Snippet
Snippet classFoo { public: intmember1; intmember2; intmember3; voidaddedAtALaterDate(); private: //somuchempty; };
Dependency Inversion Principle
Liskov Substitution Principle
Interface Segregation Principle
Single Responsibility Principle
Open/Closed 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!