Home / Report Question

Q. What is the main purpose of lambda expressions in Java?
  • A. To create classes dynamically
  • B. To reduce code verbosity in implementing functional interfaces
  • C. To replace constructors
  • D. To handle exceptions