Q26
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.
AnswerB.
Use the max() method.
C.
Use the findMax() method.
D.
Use the maximum() method.
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board