top 10 java 8 interview questions
Description
Only one interface must be defined having only one abstract method. More than on abstract methods cannot be defined. A user should make use of @FunctionalInterface annotation in the interface definition. Any number of different methods like the default method, static method, etc. can be defined. We can override java.
Comments