new Long(long value)
public class Main { public static void main(String[] args) { long i = 10; Long lObj = new Long(i); System.out.println(lObj); } }