Hi everyone.
Welcome back to this tutorial.
In this tutorial, we will compare and understand the differences between the abstract classes and interfaces.
We all know that abstract classes and interfaces are fundamentally different, but I would like to highlight
the key differences with the introduction of default methods.
Abstract classes can have instance variables.
And interfaces are not allowed to have instance variable.
This did not change from the prior versions of Java.
We all know that a class can extend only one class, but it can implement multiple interfaces with this.
Are we saying Java enabled multiple inheritance?
The answer is yes.
This was never possible in Java prior to Java eight.
Now let's go ahead and code some examples exploring multiple inheritance in the next tutorial.
With this we came to the end of this tutorial.
Thank you for watching.