Home » Java Objective » Java 8 Objective Questions

Java 8 Objective Questions

Last updated:

Support this post with a reaction:

4,273 views

Answered 0 / 50 · Correct 0

  1. Q1 Easy
    Which of the following feature is introduced in Java 8?
  2. Q2 Easy
    Which of the following is not a core concept of Java 8's new date and time API?
  3. Q3 Easy
    Which of these is a new method added to the Collection interface in Java 8?
  4. Q4 Easy
    What does the Optional class provide in Java 8?
  5. Q5 Easy
    Which of the following is a functional interface in Java 8?
  6. Q6 Easy
    What does the lambda expression (String s) -> s.length() return?
  7. Q7 Easy
    Which method reference type is used for a static method?
  8. Q8 Easy
    Which package contains the classes for the new date and time API in Java 8?
  9. Q9 Easy
    What is the main benefit of the Stream API in Java 8?
  10. Q10 Easy
    Which method is used to filter elements of a stream in Java 8?
  11. Q11 Easy
    Which of the following interfaces is not a functional interface?
  12. Q12 Easy
    Which of the following is a method reference to an instance method of a particular object?
  13. Q13 Easy
    How do you obtain a stream from a collection in Java 8?