Online Java Compiler By
JavaTpoint.com
package myPackage; public class IntegerParseUnsignedIntExample2 { public static void main(String[] args) { String str = "ABCD"; int Result = Integer.parseUnsignedInt(str); System.out.println("Value = "+Result); } }
Output