aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Ceating Wrapper Objects --  Float Constructor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Ceating Wrapper Objects --  Float Constructor" Watch "Ceating Wrapper Objects --  Float Constructor" New topic
Author

Ceating Wrapper Objects -- Float Constructor

Reddy Yeluru
Greenhorn

Joined: Aug 18, 2003
Posts: 18
Per table 6.2 and the associated discussions of Kathy and Bret's book, the constuctor for creating Float object takes only float value or a String value. There is one more overloaded constructor that takes double value. Is it a typo or is there any idea in skipping this construcor.
Authors -- Please comment.
Andres Gonzalez
Ranch Hand

Joined: Nov 27, 2001
Posts: 1561
Originally posted by Reddy Yeluru:
Per table 6.2 and the associated discussions of Kathy and Bret's book, the constuctor for creating Float object takes only float value or a String value. There is one more overloaded constructor that takes double value. Is it a typo or is there any idea in skipping this construcor.
Authors -- Please comment.

I'm not an author but this is what table 6.2 in my book (page 377) says:
float
wrapper class : Float
Constructor arguments: float, double, or string


I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
Reddy Yeluru
Greenhorn

Joined: Aug 18, 2003
Posts: 18
My copy does not have it.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Ceating Wrapper Objects -- Float Constructor