nerdexam
SAP

C_TAW12_71 · Question #424

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

(29 responses)
  • A
    10% (3)
  • B
    14% (4)
  • C
    3% (1)
  • D
    72% (21)

Community Discussion

No community discussion yet for this question.

Full C_TAW12_71 Practice