8. When overriding a method, where should the new method be defined? Please select "A, B, C, D, or E" as correct option.Â
A. In the superclass
B. In the main class
C. Outside the main class
D. In the subclass
E. Whichever class the programmer prefers
Answer
D. In the subclass
Comments
Leave a comment