+ 1
I don't understand downcasting and upcasting.
Please, help
2 Respostas
+ 10
When you have a class inside another class and you create an object inside the mother class you can downcast that object to the child class…… (the opposite is called upcasting…)
+ 2
Thanks , ValentinHacker