3. The following is an example of __. Please select "A, B, C, D, or E" as correct option.
class Dog
{
int bark() { ... }
}
class Poodle extends Dog
{
double bark() { ... }
}
A. method overloading
B. method overriding
C. method overloading and overriding
D. class overloading
E. class overriding
B. method overriding
Comments
Leave a comment