A

Admin • 802.91K Points
Coach

Q. Which method reference is ideal for sorting a list of integers?

  • (A) Math::max
  • (B) Integer::compareTo
  • (C) Integer::sum
  • (D) Integer::parseInt

Explanation by: Admin
`Integer::compareTo` can be used to compare integers.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.