11.) What is the main advantage of using parallel streams in Java 8?
12.) Which class provides utility methods for common collection operations, such as grouping and summarizing?
13.) What is the primary purpose of type annotations in Java 8?
14.) In Java 8, what replaced the PermGen space for class metadata storage?
15.) Which garbage collector was introduced in Java 8 with a focus on improved performance?
16.) Which terminal operation in the Streams API returns the minimum element based on a provided comparator?
17.) What class represents a specific instant in time, considering time zones?
18.) Which intermediate operation in the Streams API is used to filter elements based on a given predicate?
19.) Which method in the Optional class returns the value if present, or a default value if not present?
20.) Which class represents a specific point in time that can be used for scheduling tasks?