A

Admin • 828.03K Points
Coach

Q. Which method reference matches a lambda expression like `s -> s.toLowerCase()`?

  • (A) String::toUpperCase
  • (B) String::toLowerCase
  • (C) Object::toString
  • (D) String::trim

Explanation by: Admin
`String::toLowerCase` is equivalent to the lambda `s -> s.toLowerCase()`.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.