Skip to content

Instantly share code, notes, and snippets.

@Devansh-Maurya
Created September 30, 2018 05:01
Show Gist options
  • Save Devansh-Maurya/a0b3da3fff0fd37c9454b0396f1edb5a to your computer and use it in GitHub Desktop.
Save Devansh-Maurya/a0b3da3fff0fd37c9454b0396f1edb5a to your computer and use it in GitHub Desktop.
class A {
//...
}
//class B inherits class A
class B extends A {
//...
}
//class C inherits B, which in turn, inherits A
class C extends B {
//...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment