Created
January 25, 2011 22:08
-
-
Save ProgDan/795778 to your computer and use it in GitHub Desktop.
LP2: Exercícios de Revisão - 09
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
class Basics { | |
private static int x = 1; | |
static void m(int i) { | |
x++; | |
i++; | |
} | |
public static void main(String[] args) { | |
int y = 3; | |
m(y); | |
System.out.println(x + "," + y); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment