nerdexam
SAP

C_TAW12_750 · Question #327

Given the code in the exhibit (see Figure 17.9) and the knowledge that both lcl_truck and lcl_car inherit from lcl_vehicle, which statements are true? Select all that apply

The correct answer is A. The code will produce a runtime error. B. The code shows two valid up casts. C. The table lt_vehicle contains three vehicles. See the full explanation below for the reasoning.

Question

Given the code in the exhibit (see Figure 17.9) and the knowledge that both lcl_truck and lcl_car inherit from lcl_vehicle, which statements are true? Select all that apply

Options

  • AThe code will produce a runtime error.
  • BThe code shows two valid up casts.
  • CThe table lt_vehicle contains three vehicles.
  • DThe code is not syntactically correct.
  • EThe code shows no valid up casts.
  • FThe code shows three valid up casts.

How the community answered

(19 responses)
  • A
    74% (14)
  • D
    5% (1)
  • E
    5% (1)
  • F
    16% (3)

Community Discussion

No community discussion yet for this question.

Full C_TAW12_750 Practice