Exams Attended

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Java 8 Interview Questions and Answers

  Difficulty Level: AllBeginnerIntermediateExperienced/Expert

Ques 1. How lambda expression and functional interfaces are related?

Ques 2. Can you create your own functional interface?

Ques 3. What is method reference in java 8?

Ques 4. What the issues with Old Date and time API before Java 8? Date and Time API differences between Java 8 and earlier Java version.

Ques 5. Do we have PermGen in Java 8? What is MetaSpace in Java 8?

Ques 6. Difference between Intermediate and terminal operations in Stream.

Ques 7. Given the list of numbers, remove the duplicate elements from the list.

Ques 8. Difference between Stream findFirst() and findAny().

Ques 9. What is consumer function interface?

Ques 10. What is predicate function interface?

Ques 11. What Is a Stream? How Does It Differ from a Collection?

Ques 12. What Is the Difference Between Map and flatMap Stream Operation?

Ques 13. What is Stream Pipelining in Java 8?

Ques 14. What does the flatmap() function do? why you need it?

Ques 15. What is the parallel Stream? How can you get a parallel stream from a List?

©2021 WithoutBook