Created
December 20, 2019 14:05
-
-
Save anjanashankar9/916590f360f5c29b1a6262c12afcb9d2 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
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