Last active
June 30, 2021 17:01
-
-
Save aniketmlk6/77b9bfc9c57d15996e62ed31d0d61b12 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 { | |
void simple_Method() | |
{ | |
System.out.println("I am a simple method"); | |
} | |
} | |
class B { | |
void caller_Method() | |
{ | |
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