declaring an arraylist in two different ways

What is the difference between

List<Integer> list = new ArrayList<>();

and

List<Integer> list = new ArrayList<Integer>();

same, or second faster, or what
Thanks!

Comments (1)