Math Class

Find maximum of two numbers using Math.max

Want to learn quickly?
Try one of the many quizzes. More than Java 400 questions with detailed answers.

Add Comment

  • This example is somewhat confusing for me. I would rather just use a loop with an if statement to get this accomplished.

Sponsors

Facebook Fans