Last active
February 24, 2018 15:31
-
-
Save chathurangat/cc4ba465566c323a7818611b2140bcbe 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
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