Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

About Wrapper classes

 
omkar patkar
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does "radix" found in wrapper classes (Integer,Character etc.,) of java mean?

Whats the use of radix ?
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Layne
 
There's a way to do it better - find it. -Edison. A better tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!