1)-In abstract class this is not necessary that every method should be abstract but in interface every method is abstract.
2)-Single and multilevel inheritance is possible in abstract class but multiple and multilevel both type of inheritance is possible in interface.
3)-Abstract class you can define as well as declare methods but in interface you can only defined your method.
4)-Abstract class method could be public or protected both but interface method must be public only.
Copyright ©2022 coderraj.com. All Rights Reserved.