Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

list.of java

List<Integer> list = List.of(1, 2, 3);
//Returns an immutable list
Source by www.javatpoint.com #
 
PREVIOUS NEXT
Tagged: #java
ADD COMMENT
Topic
Name
5+9 =