A Admin • 833.24K Points Coach Q. In Java, how do you find the maximum element in an array? (A) Use a loop to compare each element with the maximum value found so far. (B) Use the max() method. (C) Use the findMax() method. (D) Use the maximum() method. Correct Answer - Option(A) Views: 34 Filed under category Java Hashtags: Share Manage Tags
Discusssion
Login to discuss.