Created
August 17, 2018 18:20
-
-
Save arjunsk/7902701dabc3282961be11f60358d049 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package products; | |
public class InkjetPrinter implements IPrinter { | |
@Override | |
public void print(String data) { | |
System.out.println("Inkjet Actions performed on "+data); | |
} | |
@Override | |
public boolean stop() { | |
//perform action and then return true on success | |
return false; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment