adplus-dvertising
frame-decoration

Question

What is downcasting?

a.

Casting subtype to supertype

b.

Casting supertype to subtype

c.

Casting subtype to supertype and vice versa

d.

Casting anytype to any other type

Answer: (b).Casting supertype to subtype

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is downcasting?