adplus-dvertising
frame-decoration

Question

Upcasting is _____________________ without an explicit type cast.

a.

Always allowed for public inheritance

b.

Always allowed for protected inheritance

c.

Always allowed for private inheritance

d.

Not allowed

Answer: (a).Always allowed for public inheritance

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Upcasting is _____________________ without an explicit type cast.