aspose file tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes wrapper classes Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply 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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: wrapper classes
 
Similar Threads
Wrapper classes
equals() question required
equals()
Wrapper class question ?
About equals