-
-
Save TheShubhamVsnv/18d3896f43c77f4079a2e4c7aee702f5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Interface is used to define a contract for classes that implement it. | |
All methods declared in an interface must be implemented by any class that implements the interface. | |
*/ | |
public interface MyInterface { | |
void myInterfaceMethod(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment