Skip to content

Instantly share code, notes, and snippets.

@detsam
Created February 23, 2011 09:04
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 detsam/840198 to your computer and use it in GitHub Desktop.
Save detsam/840198 to your computer and use it in GitHub Desktop.
class B {
public void blah() {
...
}
}
class A {
private B b;
public A() {
b = new B();
}
public void doSmths() {
b.blah();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment