SAP
C_TAW12_731 · Question #84
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?
The correct answer is D. O1 = O2. See the full explanation below for the reasoning.
Question
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?
Options
- AMOVE O1 ? TO O2.
- BO2 ?= O1.
- CMOVE O1 TO O2.
- DO1 = O2.
How the community answered
(15 responses)- A13% (2)
- B7% (1)
- D80% (12)
Community Discussion
No community discussion yet for this question.