taking in account that FFFFFFB2 in HEX is -78 in decimal
Why I have an error with this operacion ?
Integer.parseInt("FFFFFFB2", 16)
Error:
Exception in thread "main" java.lang.NumberFormatException: For input string: "FFFFFFFFFFFFFFB2"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:495)
at tmp.Test.main(Test.java:11)