Skip to content

Instantly share code, notes, and snippets.

@anjanashankar9
Created December 20, 2019 14:05
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 anjanashankar9/916590f360f5c29b1a6262c12afcb9d2 to your computer and use it in GitHub Desktop.
Save anjanashankar9/916590f360f5c29b1a6262c12afcb9d2 to your computer and use it in GitHub Desktop.
class B extends A{
//Constructor of B
B(){
super();
}
@Override
public void method(){
System.out.println("B's get method");
super.method();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment