Skip to content

Instantly share code, notes, and snippets.

@shkcodes
Last active August 5, 2018 04:21
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 shkcodes/cfe3cf34e513eb7dceaeb6517db86e11 to your computer and use it in GitHub Desktop.
Save shkcodes/cfe3cf34e513eb7dceaeb6517db86e11 to your computer and use it in GitHub Desktop.
Class A {
public int doSomeWork() {
B objectB = new B();
int result = objectB.getResult();
int finalResult = result * 2;
return finalResult;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment