Question 1: JAVA - Streams Basics
What is the main advantage of using Streams in Java?
Question 2: JAVA - Stream Creation
Which of the following is a correct way to create a stream from a list?
Question 3: JAVA - Filter Operation
What will this code print?
Question 4: JAVA - Map Operation
What will this code print?
Question 5: JAVA - Reduce Operation
What will this code print?
Question 6: JAVA - Collectors
Which method collects stream results into a list?
Question 7: JAVA - Stream Count
What will this code print?
Question 8: JAVA - Parallel Stream
Which method is used to create a parallel stream from a list?
Question 9: JAVA - Distinct & Sorted
What will this code print?
Question 10: JAVA - AnyMatch Example
What will this code return?