File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Programmer Certification (SCJP/OCPJP)
Joined: Nov 03, 2003
Nov 03, 2003 12:38:00
what is the default value of float primitive. please let me know the answer.
Joined: Aug 25, 2003
Nov 03, 2003 13:20:00
is the correct answer if the variable is a member of a class. If it's local, then it remains unassigned (no default value is given) and cannot be used until it gets a value.
I agree. Here's the link:
subject: simple doubt
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014