Asked by
Sasan Momayyezi
on Oct 27, 2024Verified
A subclass can override public methods of a superclass.
Public Methods
Methods that can be accessed from any other class in the program, not restricted by access control.
Superclass
In object-oriented programming, a superclass is the parent class from which other classes inherit properties and methods.
- Distinguish between overriding and overloading methods
Verified Answer
JJ
Learning Objectives
- Distinguish between overriding and overloading methods