I am really confuse why in this small example i
is still 0:
public static void main(String[] args) {
int i = 0;
inc(i);
System.out.println(i);
}
private static void inc(int i) {
i++;
}
probably very easy question but I dont see it