Java tutorial
public class Main { public static void main(String[] args) { // get two long numbers long x = 1234567890123l; long y = 9876543210123l; // print the larger number between x and y System.out.println("Math.max(" + x + "," + y + ")=" + Math.max(x, y)); } }