OOPs Concepts
Programming and Technical
HR Interview
Interview
What is the difference between superclass and subclass?
Read Solution (Total 3)
-
- A class which acquire the member of another class is called sub /drived/child class & from where the members are acquire that class is know as super/base/parent class.
- 10 years agoHelpfull: Yes(1) No(0)
- The base class from which its derived is superclass.and derived class which inherits properties from the base class is subclass.
- 10 years agoHelpfull: Yes(0) No(0)
- Super Class also known as Base Class. where sub Class is a Derived Class.
EX: class A
{
class B extends class A
{
class c
Where class A is a Base or Super Class, Where class B is a Derived class. - 4 years agoHelpfull: Yes(0) No(0)
OOPs Concepts Other Question