Java program to find maximum of two numbers using Math.max()

10

We can find maximum of two numbers by using if condition check. In java.lang.Math class also having a method Math.max() which will take two numbers and returns maximum number. We have separate methods for int , float , double and long. Java program to fin

Read this post on instanceofjava.com


saidesh

blogs from hyderabad