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..
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..
It's in the Java Language Specification - section 4.12.5 Initial Values of Variables.
Beware - there are different answers for local variables
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.