Is there a way to implement something like
List> ClassList = new ArrayList
List> ClassList = new ArrayList>();
should be
there is no implements keyword in the world of generics. if you want a type parameter that implements an interface , use the extends keyword to represent it.