Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

list of java

var list1 = List.of(1, 2);

var list2 = new ArrayList<>(List.of(3, 4));

var list3 = new ArrayList<String>();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #list #java
ADD COMMENT
Topic
Name
3+6 =