A

Admin • 828.03K Points
Coach

Q. What does the following lambda expression represent: `x -> x % 2 == 0`?

  • (A) Checks if a number is odd
  • (B) Checks if a number is even
  • (C) Always returns true
  • (D) Returns the same number

Explanation by: Admin
This lambda checks whether a number is even.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.