Hi i am rafiq,

What is the default value of float and double datatype in Java? Its my interview questions could anyone tell me the answer please..

Google would have found this for you in less than a minute. put some effort in it.
anyway, if you don't know about this stuff, I would recommend against going to job interviews for Java development positions.

It's in the Java Language Specification - section 4.12.5 Initial Values of Variables.
Beware - there are different answers for local variables

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.