Page 1 of 1

In subclass you want to define a method of the superclass. Which of the following conditions must be fufilled?

Posted: Fri Aug 26, 2022 10:04 am
by answerhappygod
In subclass you want to define a method of the superclass. Which of the following conditions must be fufilled?

A. The superclass method is an instance method
B. The superclass method is abstract
C. The subclass method a lower visibility than the superclass method
D. The subclass method has same visibility as the superclass method