<AptiCode/>

Question 773: Which of the following are valid calls toMath.max?Math.max(1,4)Math.max(2.3, 5)Math.max(1, 3, 5, 7)Math.max(-1.5, -2.8f)

tcs
wipro
infosys
general
aptitude
javalang-class

(1), (2), and (4) are correct. Themax()method is overloaded to take two arguments of typeint,long,float, ordouble.(3) is incorrect because themax()method only takes two arguments.