java.lang.Math.min(long a, long b)


java.lang.Math.min(long a, long b)

package com.codingdict;



import java.lang.*;



public class MathDemo {



   public static void main(String[] args) {



      // get two long numbers

      long x = 98759765l;

      long y = 15428764l;



      // print the smaller number between x and y

      System.out.println("Math.min(" + x + "," + y + ")=" + Math.min(x, y));

   }

}