Java 8 Interview Questions
- Why do we need change to Java again?
- Java SE 8 New Features?
- Advantages of Java SE 8 New Features?
- What is Lambda Expression?
- What are the three parts of a Lambda Expression? What is the type of Lambda Expression?
- What is a Functional Interface? What is SAM Interface?
- Is is possible to define our own Functional Interface? What is @FunctionalInterface? What are the rules to define a Functional Interface?
- Is @FunctionalInterface annotation mandatory to define a Functional Interface? What is the use of @FunctionalInterface annotation? Why do we need Functional Interfaces in Java?
- When do we go for Java 8 Stream API? Why do we need to use Java 8 Stream API in our projects?
- Explain Differences between Collection API and Stream API?
- What is Spliterator in Java SE 8?Differences between Iterator and Spliterator in Java SE 8?
- What is Optional in Java 8? What is the use of Optional?Advantages of Java 8 Optional?
- What is Type Inference? Is Type Inference available in older versions like Java 7 and Before 7 or it is available only in Java SE 8?
No comments:
Post a Comment