aspose file tools*
The moose likes Java in General and the fly likes Character Wrapper Class. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Character Wrapper Class. " Watch "Character Wrapper Class. " New topic
Author

Character Wrapper Class.

N.Senthil Kumar
Ranch Hand

Joined: Jul 07, 2009
Posts: 50
Hi Guys...

May i know what makes the Character Wrapper Class as Special when compared to other Wrapper Classes.

Thanks in Advance.


N.Senthil Kumar
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Character: represents a value of unicode text(16 bit) . and Unicode

hth
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19784
    
  20

Character is only as special compared to Integer etc as char is compared to int etc. The biggest difference (apart from all the static utility methods) is that there is no static parseChar method. But why should there be, since converting a String into a char is just taking the first character from the String, if any.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 40052
    
  28
Well, char is unsigned and all the other kinds of integer are two's complement, but that is part of what Rob said about
Character is only as special compared to Integer etc as char is compared to int etc.
N.Senthil Kumar
Ranch Hand

Joined: Jul 07, 2009
Posts: 50
Thank You , Friends
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19784
    
  20

You're welcome.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Character Wrapper Class.