Which of the following statements implements an up cast?

You have 2 objects: O1 of type class C1 and O2 of type class C2.
Class C2 is a subclass of class C1.
Which of the following statements implements an up cast?
A. MOVE O1 ?TO O2.
B. O2 ?= O1.
C. MOVE O1 TO O2.
D. O1 = O2.

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.