Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
public class MyRunnable implements Runnable() {
public void run() {
methodOne();
}
public void methodOne() {
int localVariable1 = 45;
MySharedObject localVariable2 = MySharedObject.object3;
methodTwo();
}
public void methodTwo() {
Integer localVariable1 = new Integer(99);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment