Exam4Training

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

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

A . The code will produce a runtime error.
B . The code shows two valid up casts.
C . The table lt_vehicle contains three vehicles.
D . The code is not syntactically correct.
E . The code shows no valid up casts.
F . The code shows three valid up casts.

Answer: A,B,C

Exit mobile version