Tutorials Shared by the Internet Community
|Top Tutorials||New Tutorials||Submit||Login||Register|
Tutorial Basic Detail
Total Hits: 16891
Total Votes: 184 votes
Average Rating: 3 out of 5
Category: JAVA/Core JAVA
Description:Type casting in Java is used to cast one class or interface to another, if they are from same type hierarchy. Type casting is an important concept to understand, not just to avoid ClassCastException but also take full advantage of interfaces in Java, which is key to define flexible type hierarchy.