News

.forEach(System.out::println); Output: “aaa1”, “abc1” 3. Maps Maps API saw new exciting changes in Java 8. The only drawback is that it cannot be used directly with Stream API.