A

Admin • 828.03K Points
Coach

Q. What method reference could map Employee objects to their ages?

  • (A) Employee::getName
  • (B) Employee::getAge
  • (C) Employee::compareTo
  • (D) Employee::new

Explanation by: Admin
`Employee::getAge` retrieves the age property.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.