By screener
via javarevisited.blogspot.sg
Published: Feb 06 2013 / 08:38
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.
Add your comment