Superclass
The class that another class directly extends.
What is Superclass in Java?
Superclass — The class that another class directly extends.
class Alert {
String text() {
return "Alert";
}
}
class EmailAlert extends Alert {
@Override
String text() {
return "Email";
}
}
Level: Journeyman · More Java terms at this level
Updated