Q:

Which among the following is safe?

0

Which among the following is safe?


  1. Upcasting
  2. Downcasting
  3. Both upcasting and downcasting
  4. If upcasting is safe then downcasting is not, and vice versa

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (a).Upcasting

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

OBJECT ORIENTED PROGRAMMING - OVERLOADING MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Which among the following is best situation to use... >>
<< Which among the following is true for upcasting in...