Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren0
what does down casting using for?
can anyone explain it for me please? and it's using?
1 Antwort
0
You down cast a super class to its subclass. Example can be
Car a = new Car ();
( ( BMW)a).goFast ();