Constructors have which of the following properties?
(Select 2 correct answers)
A . Automatic execution A constructor (CONSTRUCTOR) is automatically invoked when an instance of a class is created.
B . Importing parameters Constructors can have importing parameters to initialize the object with values.
C . First method called by client Not correct, because constructors are called by the system, not the client explicitly.
D . Returning parameters Constructors cannot return values; they only set up the object.
This behavior is consistent across ABAP Cloud OOP classes, ensuring encapsulated initialization logic.
Verified Study Guide Reference: ABAP Objects Guide -- Class Constructors and Instance Constructors.
Currently there are no comments in this discussion, be the first to comment!