Java tutorial
public class Main { public static void main(String[] args) { Long longObject = Long.decode("0Xff"); System.out.println(longObject); } }