arraylist oneline initialization code example Example: initialize arraylist in 1 line in java Arrays.asList("Code", "Shifter");