File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 1506
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
 
 
subject: wrapper classes
 
Similar Threads
About equals
equals()
equals() question required
Wrapper classes
Wrapper class question ?