A

Admin • 828.03K Points
Coach

Q. How to find the largest element in an array?

  • (A) Use Arrays.max()
  • (B) Use array.sort()
  • (C) Use a loop and compare
  • (D) Use array.max()

Explanation by: Admin
You can use a loop to compare and find the largest element.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.