Zainicjuj listę w Javie w jednej linii

var strings = List.of("foo", "bar", "baz");
Expensive Eagle