Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java create list with initial elements

List<String> list = Arrays.asList("foo", "bar");
Source by www.baeldung.com #
 
PREVIOUS NEXT
Tagged: #java #create #list #initial #elements
ADD COMMENT
Topic
Name
3+1 =