Skip to content

Instantly share code, notes, and snippets.

@aniketmlk6
Last active June 30, 2021 17:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aniketmlk6/77b9bfc9c57d15996e62ed31d0d61b12 to your computer and use it in GitHub Desktop.
Save aniketmlk6/77b9bfc9c57d15996e62ed31d0d61b12 to your computer and use it in GitHub Desktop.
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