For example, instead of doing
ArrayList<ClassName> variableName;
you do
ArrayList variableName;
then later you add an object of type "ClassName"
variableName.add(objectName);
will that automatically set the type of your array as
ArrayList<ClassName>
?