Question: You have a Printer interface with methods printDocument ( ) , scanDocument ( ) , and faxDocument ( ) . A basic printer only supports

You have a Printer interface with methods printDocument(), scanDocument(), and faxDocument(). A basic printer only supports printing and scanning, while an advanced printer supports all three functions. What principle is violated in the case of the basic printer?
Single Responsibility Principle (SRP)
Liskov Substitution Principle (LSP)
Interface Segregation Principle (ISP)
Dependency Inversion Principle (DIP)

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!