Last active
October 8, 2019 14:09
-
-
Save ebinjoy999/fee0060d60bc88fd34e955161d5bdd9c to your computer and use it in GitHub Desktop.
This file contains 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 interface SimService { | |
void sendSim(Sim sim); | |
} | |
public class Phone implements SimService { | |
Sim sim; | |
@Override | |
public void sendSim(Sim sim) { | |
this.sim = sim; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment