Search Interview Questions | More than 3000 questions in repository. There are more than 900 unanswered questions. Click here and help us by providing the answer. Have a video suggestion. Click Correct / Improve and please let us know. |
|
| ||||
Interview Questions and Answers | ||||
| ||||
Ans. boolean ---> false byte ----> 0 short ----> 0 int -----> 0 long ------> 0l char -----> /u0000 float ------> 0.0f double ----> 0.0d any object reference ----> null | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  java   data types   default values | ||||
Try 1 Question(s) Test | ||||
Related Questions | ||||
What is casting? | ||||
What are the Wrapper classes available for primitive types ? | ||||
What are wrapper classes ? | ||||
Why Java is not considered pure OOP's language ? | ||||
What is Generalization and Specialization in terms of casting ? | ||||
Which data types are supported by JSON ? | ||||
What is the difference between float and double? | ||||
How do you prefer to store money values in your application ? | ||||
Difference between long.Class and Long.TYPE ? | ||||