Exam4Training

Which of the following are valid statements?

You have written a program that uses inline declarations and assigns values using expressions. The global data declarations contain the following statement: DATA o TYPE REF TO cl_class.

Which of the following are valid statements? There are 3 correct answers to this question.
A . DATA(p) = NEW cl_class( ).
B . DATA(p) =NEW( ).
C . o = NEW string( ).
D . o = NEW( ).
E . o =NEW cl_class( ).

Answer: A,D,E

Exit mobile version