Question: Explain the major differences between upcasting and downcasting. Which of them must be done explicitly, and why? Provide a real life example.
Explain the major differences between upcasting and downcasting. Which of them must be done explicitly, and why? Provide a real life example.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
