(By definition, a functional interface, is an interface which has only one abstract methode)
A is a Functional interface becauce it is an interface which has only one abstract method.
C is also a Functional interface becauce it is an interface which has two method but only one of these two methods is abstract.
B is not a functional interface because B got two abstract methods.
D is not a functional interface because D do not have any abstract method
E is a compilation error because the @FonctionalInterface is not applicable to method
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
lenicoulibaly
Highly Voted 1 year agoAashish092087
Most Recent 6 months, 2 weeks agoPontPont
9 months, 1 week ago