SAP
C_TAW12_740 · Question #63
In subclass you want to define a method of the superclass. Which of the following conditions must be fufilled?
The correct answer is B. The superclass method is abstract D. The subclass method has same visibility as the superclass method. See the full explanation below for the reasoning.
Question
In subclass you want to define a method of the superclass. Which of the following conditions must be fufilled?
Options
- AThe superclass method is an instance method
- BThe superclass method is abstract
- CThe subclass method a lower visibility than the superclass method
- DThe subclass method has same visibility as the superclass method
How the community answered
(37 responses)- A5% (2)
- B84% (31)
- C11% (4)
Community Discussion
No community discussion yet for this question.