Inheritance can be defined as the process where one class acquires the properties (methods and fields) of another. In other words, the derived class inherits the states and behaviors from the base class. The derived class is also called subclass and the base class is also known as super-class. The …
Read More »