Java program to find maximum of two numbers using Math.max()
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
Popular Articles by this blogger
- Java Jsp Interview Questions

- Method overloading interview questions

- Bitwise Operators in java

- Top 20 Java Exception handling interview questions and answers for freshers and experienced

- Basic Java example program to replace an element at specified index arraylist

- Java Servlet Interview Questions

- Top 16 Java Inheritance Interview questions for freshers and experienced

- Private constructor in java example

