Created
September 30, 2018 04:59
-
-
Save Devansh-Maurya/e18449e03f21e4c3ea7f70101240dc2a 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
final class A { | |
//... | |
} | |
//The following class is illegal | |
class B extends A { // ERROR! Can't subclass A | |
//... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment