Last active
October 2, 2022 15:54
-
-
Save HugoMatilla/1e858b330d3a8cbdd5b82dd409b0ddc8 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
Modifier | Corresponding member | Comments for classes | |
---|---|---|---|
final | Can’t be overridden | Used by default for class members | |
open | Can be overridden | Should be specified explicitly | |
abstract | Must be overridden | Can be used only in abstract classes; abstract members can’t have an implementation | |
override | Overrides a member in a superclass or interface | Overridden member is open by default if not marked final |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment