Java tutorial
public class Main { public static void main(String[] args) { Byte byteObject = new Byte("10"); long l = byteObject.longValue(); System.out.println("long:" + l); } }