Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public abstract class Base<T> {
- private final T genericTypeObject;
- protected Base(){
- //Create instance of T here without any argument
- }
- }
- public class Child extends Base<SomeClass>{
- public Child () {
- super();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement