Are you asking how to convert a String in hex format: "1AB3" that is passed to a main() method on the commandline in a String array to an int value?
The Integer class's parseInt method has...