Skip to content

Instantly share code, notes, and snippets.

@ebinjoy999
Last active October 8, 2019 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ebinjoy999/fee0060d60bc88fd34e955161d5bdd9c to your computer and use it in GitHub Desktop.
Save ebinjoy999/fee0060d60bc88fd34e955161d5bdd9c to your computer and use it in GitHub Desktop.
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