java.lang.Long.compareTo() java.lang.Long.byteValue() java.lang.Long.decode() java.lang.Long.compareTo() package com.codingdict; import java.lang.*; public class LongDemo { public static void main(String[] args) { // compares two Long objects numerically Long obj1 = new Long(63255); Long obj2 = new Long(71678); int retval = obj1.compareTo(obj2); if(retval > 0) { System.out.println("obj1 is greater than obj2"); } else if(retval < 0) { System.out.println("obj1 is less than obj2"); } else { System.out.println("obj1 is equal to obj2"); } } } java.lang.Long.byteValue() java.lang.Long.decode()