About Question enthuware.ocpjp.i.v11.2.984 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
BaxLi007
Posts: 11
Joined: Wed Jun 26, 2019 12:43 pm
Contact:

About Question enthuware.ocpjp.i.v11.2.984 :

Post by BaxLi007 »

May I ask you - why you use f=Float.valueOf(s).floatValue()?
You use last expression .floatValue(), while at the step f=Float.valueOf(s) we already received the boxed Float.
So, what's the point to use f=Float.valueOf(s).floatValue() versus f=Float.valueOf(s) ?

admin
Site Admin
Posts: 10388
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.i.v11.2.984 :

Post by admin »

There is no need for it actually. It is there only to confuse you :)

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests