0

what does down casting using for?

can anyone explain it for me please? and it's using?

4th Nov 2016, 1:18 PM
Esraa Aloshibi
Esraa Aloshibi - avatar
1 Antwort
0
You down cast a super class to its subclass. Example can be Car a = new Car (); ( ( BMW)a).goFast ();
5th Nov 2016, 12:28 AM
Bozhidar Ivanov
Bozhidar Ivanov - avatar