This video explains about the changes in interfaces after Java8 and explain about the functional interfaces along with coding examples.
We also discussed about the interview questions for Java8 interfaces and functional interfaces.
Why do we need default methods in interfaces? How did we handle those scenarios in previous Java versions?
What are static methods in interfaces and why do we need it ?
What is a functional interface or SAM interface in Java?
Can we create our own custom functional interface? If so, how?
What is the use of @FunctionalInterface? What will happen if I didn’t put this annotation to my functional interface?
Can a functional interface extend/inherit another interface?
Can we have methods other than abstract methods in functional interfaces?
Standard pre-defined Java functional interfaces
Spring Interview Questions: • Spring Boot Framework - Interview Question...
Java21 Features: • Java21 Features
Java interview questions series: • Java Interview Questions
Java8 Interview Questions Series: • Functional Interfaces In Java - Feature of...
Rest API Interview Questions: • Restful API Interview Questions
Subscribe link: / @crackittechietalks