I want a ArrayList, where you can add Objects , which implements an Interface. Something like this:
ArrayList<Object implements Interface> list =
new ArrayList<Object which implements a specific Interface>();
What is the correct syntax for this?