Skip to content

Instantly share code, notes, and snippets.

@incepttechnologies
Created May 20, 2014 01:01
Show Gist options
  • Save incepttechnologies/cbcb237f97c89410314d to your computer and use it in GitHub Desktop.
Save incepttechnologies/cbcb237f97c89410314d to your computer and use it in GitHub Desktop.
@Alternative
public class ImplementerA implements ImplementerIntf{
@Override
public String showImplementer() {
return this.getClass().getName();
}
}
@Alternative
public class ImplementerB implements ImplementerIntf{
@Override
public String showImplementer() {
return this.getClass().getName();
}
}
@Alternative
public class ImplementerC implements ImplementerIntf{
@Override
public String showImplementer() {
return this.getClass().getName();
}
}
public interface ImplementerIntf extends Serializable {
public String showImplementer();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment