Created
December 20, 2019 14:03
-
-
Save anjanashankar9/73609a494cb64c7b975e7d0891b16288 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(){ | |
System.out.println("B's constructor"); //This is not allowed | |
super(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment