So I\'m working in Java and I want to declare a generic List.
So what I\'m doing so far is List list = new ArrayList();
List list = new ArrayList();
But no
The T is the type of the objects that your list will contain. You can write List and use it in a function which needs List, it shouldn't be a problem since the T is used to say that it can be anything.
List