What is the default value of float and double datatype in Java?
Question :
What is the default value of float and double datatype in Java?
Default value of float and double datatype in different as compared to C/C++. For float its 0.0f and for double it's 0.0d
Similar Questions
- What are run-time errors? Give two examples.
- What is the default value of float and double datatype in Java?
- What is a Instance Variable
- List some Java keywords(unlike C, C++ keywords)?
- List two Java IDE's?
- What is Java Virtual Machine and how it is considered in context of Java's platform independent feature?