Some basic Java 8 Interview QuestionsÂ
- How is Java 8 different from previous Java versions?
- Is it possible to implement two interfaces having default method with same name and signature? Explain with example.
- What is Nashorn in Java 8?
- What is JJS?
- What is Type Inference?
- What is the difference between Predicate and Function?
- What is the difference between PermGenSpace and MetaSpace?
- What Is the difference between map and flatMap stream operation?
- What is the difference between Iterator and Spliterator ?
- What is StringJoiner?
- What does String :: value of expression means?
- What are the issues of the old Date and Time API’s? Can you tell about the new Date and Time API’s in java 8?
- What is a method reference?
- Tell me, why do we need change to Java again?
- What is a default method and when do we use it?