Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

generic list java

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

//list − object of List interface.
//T − The generic type parameter passed during list declaration.
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #generic #list #java
ADD COMMENT
Topic
Name
2+7 =