Skip to content

Instantly share code, notes, and snippets.

@Devansh-Maurya
Created September 30, 2018 04:59
Show Gist options
  • 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