public class Question12{
public static void main(String[] args){
int x=5;
Question12 q = new Question12();
q.doStuff(x);
System.out.println(" main x = " + x);
}
void doStuff(int x){
System.out.println("doStuff x = " + x++);
}
}
//OutPut:~
doStuff x = 5
main x = 5