Q. What is the output of System.out.println(Math.max(3, 7));?
Solution:
Math.max() returns the greater of two values, so 7 is the output.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
Math.max() returns the greater of two values, so 7 is the output.
Strengthen Your Practice with our comprehensive question bank.