Skip to content

Instantly share code, notes, and snippets.

@goindwalia
Last active May 18, 2017 13:35
Show Gist options
  • Save goindwalia/998e08772dc59cdda97ef96ce5186854 to your computer and use it in GitHub Desktop.
Save goindwalia/998e08772dc59cdda97ef96ce5186854 to your computer and use it in GitHub Desktop.
/* Java Code */
static int num1, num2; //explicit declaration
num1 = 20; //use the variables anywhere
num2 = 30;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment