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 6 Question 15 Discussion

Posted by Thersa on Mar 04, 2026 at 05:02 PM

In a subclass sub1, you want to redefine a component of a superclass super1.

How do you achieve this?

Note: There are 2 correct answers to this question.

Suggested Answer: A, D

To redefine a component in a subclass:

The component (method) in the superclass must be defined with the FOR REDEFINITION addition.

In the subclass, you use the REDEFINITION clause in the method declaration and implement the method in the subclass to override the superclass behavior.

Thus:

Option A is correct because the method declaration in sub1 must include the REDEFINITION addition.

Option D is correct because the actual redefined method implementation must be provided in the subclass sub1.

Option B is incorrect because the component is not re-implemented in the superclass.

Option C is incorrect because REDEFINITION is not added in the superclass, but FOR REDEFINITION is.


===========

Get Premium C_ABAPD_2507 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
0 comments · newest first

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

0/2000 characters

Save Cancel