Java tutorial
public class MainClass { public static void main(String[] args) { long l = 10000000l; Long l2 = new Long(l); System.out.println(l2.longValue()); } }