Thread: What are the differences between abstract class and interface after Java 8 and 9 release?
Joined: 18 Feb, 2018
What are the differences between abstract class and interface after Java 8 and 9 release?
After Java 8 there are many new features has been added to interfaces like default methods and static methods and from Java 9 we can declare private methods as well inside an interface. All the features of abstract classes can be used in interfaces. So now what is the difference between abstract classes and interfaces and when to use abstract classes and when to use interfaces because it looks like whatever we can do using abstract class now we can do with interfaces also.
Post has been marked as Answered
Post has been marked as Un-Answered
Do you want to Report as spam?
Report a thread
Successfully marked as spam.
Tell A Friend
Successfully send the mail to Friends!!
Successfully you refer to your Friends for this Thread