+ 1
Up-/downcasting means creating an object of a class referring to a sub-/superclass. Please have a look at http://stackoverflow.com/questions/380813/downcasting-in-java; I find the explanations there quite useful.
11th Jan 2017, 10:19 AM
Álvaro