What are the data type conversions available in Java?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What are the data type conversions available in Java?
Rating:
Java provides two kinds of data type conversions, namely automatic and explicit. Automatic conversion takes place when the following two conditions are fulfilled:
- The two types are compatible.
- The destination type is larger than the source type.
Rating:
Was this information helpful?
Other articles
- What is serialization?
- What is the String + operator?
- What is the iterator() method of the NavigableSet interface?
- What is the start() method?
- What is the public access specifier?
