Why we can not provide access modifer while declaration interface ?
Santosh Kumar Kotnala
Select an image from your device to upload
Interface is the standard structure to be followed by the classes where class will implement the functionality and it includes only the declaration of methods,functions and properties.We cannot provide access modifier while declaration of interface bcoz interfaces are public by default and interfaces deals with public members only.