Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

list.of java

List<Integer> list = List.of(1, 2, 3);
//Returns an immutable list
 
PREVIOUS NEXT
Tagged: #java
ADD COMMENT
Topic
Name
6+2 =