0

Up casting and Down casting

Upcasting, downcasting is also the example of polymorphism? As we use it to change the behavior .. Need some discussion 🙂

1st Jul 2022, 6:06 AM
Sufian Ahmad
Sufian Ahmad - avatar
1 Réponse
+ 1
Type casting is to change the primitive data type Lower to high data type is Up typecasting and High to Low convert data type is Down Type casting
1st Jul 2022, 7:27 AM
Awadhut Bhagawan Yenkar