Last active
November 24, 2019 21:47
-
-
Save guaracyalima/6516a627ab53ff84727574938f769d5d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
E2{ | |
void addTwo( int value ){ | |
System.out.println(value); | |
value += 2; | |
System.out.println(value); | |
} | |
public static void main(String[] args) { | |
int i = 1; | |
System.out.println(i); | |
new E2().addTwo(i); | |
System.out.println(i); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment