Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public abstract class Foo{
- //plus constructor and other stuff.
- public abstract void differentTypeOfImplementation();
- public void doSomething(Foo foo){
- //do something with the generic Foo object passed
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement