1public class Test {
2
3 public static void main(String args[]) {
4 System.out.println(Math.max(12.123, 12.456));
5 System.out.println(Math.max(23.12, 23.0));
6 }
7}
1 (stores the maximum possible value for any integer variable)
2 public static void main(String[] arg)
3 {
4 System.out.println("Integer.MAX_VALUE = "
5 + Integer.MAX_VALUE);///output :-2147483647
6 }
7}
8Any integer variable cannot store any value beyond this limit