+ 1
I don't understand downcasting and upcasting.
Please, help
2 Answers
+ 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