A

Admin • 833.24K Points
Coach

Q. Can lambdas be used to replace anonymous inner classes that implement listeners in GUI?

  • (A) Yes
  • (B) No
  • (C) Only in Swing
  • (D) Only in JavaFX

Explanation by: Admin

Lambdas can replace anonymous inner classes for listeners if the interface is functional.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.