Created
December 20, 2019 14:06
-
-
Save anjanashankar9/de9084430ff83acf7784acb75c908223 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
public static void main(String[] args){ | |
System.out.println("JAVA - INHERITANCE"); | |
B objectB = new B(); | |
objectB.method(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment