Skip to content

Instantly share code, notes, and snippets.

@jwoolston
Created November 8, 2013 03:47
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 jwoolston/7366009 to your computer and use it in GitHub Desktop.
Save jwoolston/7366009 to your computer and use it in GitHub Desktop.
public abstract class AA {
//Some abstract class
}
public class A extends AA {
//Some concrete class
}
public abstract class AB {
protected List<AA> mList;
}
public class B extends AB {
public B() {
mList = new ArrayList<A>();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment