wood burning stoves 2.0*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes wrapper classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "wrapper classes" Watch "wrapper classes" New topic
Author

wrapper classes

Savio Mascarenhas
Ranch Hand

Joined: Nov 29, 2000
Posts: 108
Q4.Which of the following are wrapper classes?
(a)java.lang.Void
(b)java.lang.Int
(c)java.lang.Boolean
(d)java.lang.Long
(e)java.lang.String
The answer mentioned was (a),(c)&(d).Should (a) be included ???
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
Java.Lang.Void is a wrapper class even though it has no values to wrap. It has a static TYPE field.
Bosun


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: wrapper classes