🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Abstract Classes and Interfaces: all 10 questions

Quiz: Abstract Classes and Interfaces · Question 5 of 10

Which is a functional interface?

Which is a functional interface?

  1. A.An interface with no methods
  2. B.An interface with exactly one abstract method
  3. C.Any abstract class
  4. D.An interface with only default methods
Answer & explanation

Correct answer: An interface with exactly one abstract method

Exactly one abstract method makes it usable with a lambda.

Can you get the rest right without peeking?

Take the timed Quiz: Abstract Classes and Interfaces quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →