मैं दशमलव में एक हेक्स स्ट्रिंग परिवर्तित करना चाहते हैं, लेकिन मैं निम्नलिखित कोड में एक त्रुटि मिली:java.lang.NumberFormatException जब परिवर्तित एक हेक्स स्ट्रिंग Int को
String hexValue = "23e90b831b74";
int i = Integer.parseInt(hexValue, 16);
त्रुटि:
Exception in thread "main" java.lang.NumberFormatException: For input string: "23e90b831b74"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:495)