Like a class, an interface can have methods and variables, but the methods declared in interface are by default abstract (only method signature, no body). Interfaces specify what a class must do and not how . It is the blueprint of the class.13 Tem 2021
How do you identify a class interface?
Like a class, an interface can have methods and variables, but the methods declared in interface are by default abstract (only method signature, no body). Interfaces specify what a class must do and not how . It is the blueprint of the class.13 Tem 2021