This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Java in General and the fly likes About Wrapper classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Java in General
Bookmark "About Wrapper classes" Watch "About Wrapper classes" New topic

About Wrapper classes

omkar patkar
Ranch Hand

Joined: Aug 25, 2005
Posts: 231
What does "radix" found in wrapper classes (Integer,Character etc.,) of java mean?

Whats the use of radix ?

Thanks and Regards
Omkar Patkar (SCJP 1.4)[url][/url] | [url][/url]
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
The "radix" is the base used to parse the String into an int. For example, you may have a integer as a hexadecimal String (such as "0x4C5F"), so you would specify the radix as 16.


Java API Documentation
The Java Tutorial
GeeCON Prague 2014
subject: About Wrapper classes