Showing posts with label Java. Show all posts
Showing posts with label Java. Show all posts

Operations with lists in Java

Initializa list:

List<String> names = Arrays.asList("Bob", "John", "Alice");