aspose file tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Wrapper class Functions problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Wrapper class Functions problem" Watch "Wrapper class Functions problem" New topic
Author

Wrapper class Functions problem

Mohit G Gupta
Ranch Hand

Joined: May 18, 2010
Posts: 634




i tried the above code but it didn't give any error .i think valueOf and parseBoolean functions doesn't work for boolean and character
help.

OCPJP 6.0 93%
OCPJWCD 5.0 98%
Abimaran Kugathasan
Ranch Hand

Joined: Nov 04, 2009
Posts: 2066

mohitkumar gupta wrote:


i tried the above code but it didn't give any error .i think valueOf and parseBoolean functions doesn't work for boolean and character
help.


Your question isn't clear.


check this Character and Boolean API.

Which JVM version you use, because these are added after JDK1.5

|BSc in Electronic Eng| |SCJP 6.0 91%| |SCWCD 5 92%|
Sahil Kapoor
Ranch Hand

Joined: Sep 12, 2009
Posts: 316
Dude, both are the valid static methods as of java 1.5.

Check API !!!


SCJP 6.0 96%

(Connecting the Dots ....)
 
Don't get me started about those stupid light bulbs.
 
subject: Wrapper class Functions problem