Skip to content

Instantly share code, notes, and snippets.

@Devansh-Maurya
Created September 30, 2018 04:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Devansh-Maurya/e18449e03f21e4c3ea7f70101240dc2a to your computer and use it in GitHub Desktop.
Save Devansh-Maurya/e18449e03f21e4c3ea7f70101240dc2a to your computer and use it in GitHub Desktop.
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