Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

SAP C_ABAPD_2507 Exam - Topic 2 Question 17 Discussion

Constructors have which of the following properties?(Select 2 correct answers)
A) The constructor is automatically called during instantiation. and B) The constructor can have importing parameters.
C) The constructor must be the first method called by the client.
D) The constructor can have returning parameters.

SAP C_ABAPD_2507 Exam - Topic 2 Question 17 Discussion

Actual exam question for SAP's C_ABAPD_2507 exam
Question #: 17
Topic #: 2
[All C_ABAPD_2507 Questions]

Constructors have which of the following properties?

(Select 2 correct answers)

Show Suggested Answer Hide Answer
Suggested Answer: A, B

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.


Contribute your Thoughts:

0/2000 characters

Currently there are no comments in this discussion, be the first to comment!


Save Cancel