I would like to make an ArrayList
which contains Object
s.
ArrayList<Object> objects = new ArrayList<Object>();
The code is underlined and NetBeans says: "Redundant type arguments in new expression (use diamond operator instead)."
What does it mean?