RE: Can you explain what inheritance is and an example of when you might use it?
Inheritance is the ability of the derived from the base class. When you want to inherit (use the functionality of) another class. Example: With a base class named Employee a Manager class could be derived from the Employee base class.
RE: Can you explain what inheritance is and an example...
Inheritance means able to inherete the class from base class. The inherete class called derived class.The main advantage of the inheritance if any modification done origanl class safe.This is for reusable.