-
-
Save TheShubhamVsnv/84928fe6f26a8f3645f2d1b631f15d61 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
/* | |
Override is used to indicate that a method in a subclass is intended to override a method with the | |
same signature in its superclass. This annotation helps catch errors at compile time if the method | |
is not actually an override. | |
*/ | |
public class MyChildClass extends MyBaseClass { | |
public override void myVirtualMethod() { | |
// My own version of the virtual adventure! | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment