Difference between "creating a derived class" and "override a base class with derived class"

In reply to dharamvir:

EXtending a class defines a new class which is of the same type as the base class.
Override you can use only if you have a second class of the same type as you want to override.
In other words: extending a class is necessary for using the override.