What Is Meant By Subclass In Java
Answers
Answered by
0
Answer:
A Java subclass is a class which inherits a method or methods from a Java superclass. A Java class may be either a subclass, a superclass, both, or neither! The Cat class in the following example is the subclass and the Animal class is the superclass.
Answered by
0
Answer:
The class which is derive from another class is called subclass
Explanation:
In fact, in java all classes must be derived from the other some class i.e. Superclass
Similar questions
Political Science,
5 months ago
Science,
5 months ago
Computer Science,
10 months ago
Computer Science,
10 months ago
English,
1 year ago
English,
1 year ago