Created
November 25, 2022 12:07
-
-
Save Mishco/59258e6497cabfa3000eb170794752ca 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
| public class BasicPrinter implements Printer { | |
| @Override | |
| public boolean print() { | |
| //Logic for printing | |
| return true; | |
| } | |
| } | |
| public class BasicScanner implements Scan { | |
| @Override | |
| public boolean scan() { | |
| //Logic for scanning | |
| return true; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment