Created
June 28, 2021 18:10
-
-
Save aniketmlk6/9e4e78012cbc0960e5519d43ca2e82b2 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 A { | |
protected void simple_Method() { | |
System.out.println("I am a simple method"); | |
} | |
} | |
public class Main extends A{ | |
public static void main(String[] args) { | |
A a_obj = new A(); | |
a_obj.simple_Method(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment