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.
|Java - Interview Questions and Answers|
|Ans. Because the way float values are stored its not precise. |
For example - 0.1 is actually stored as
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  double  float  data type basic   frequent|
|What is casting?|
|What are the Wrapper classes available for primitive types ?|
|What are wrapper classes ?|
|What is Generalization and Specialization in terms of casting ?|
|Why Java is not considered pure OOP's language ?|
|Which data types are supported by JSON ?|
|What are the default or implicitly assigned values for data types in java ?|
|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 ?|