A Admin • 833.24K Points Coach Q. What is the output of `Arrays.asList("a", "b").forEach(System.out::println);`? (A) No output (B) Prints 'a' and 'b' on separate lines (C) Prints 'ab' (D) Compilation error Correct Answer - Option(B) Views: 22 Filed under category Java Hashtags: Method Reference Share Manage Tags
Discusssion
Login to discuss.