Difference between interface and abstract class
Utilisateur anonyme
Interface vs Abstract class: --> Interface is an also an partial abstract class , But by default every method is in interface is containing public modifier. -->we can declare only prototype and signature of method. --> we cant write any implementation on method . -->when we choose interface -- we know about the requirement but we dont know about implemenation. Abstract Class: --> we can able to write partial implementation. -->In Abstract class by default every method is abstract .