Yeah I just learned the if and switch statement....(or I believe so):rolleyes:
Type: Posts; User: ggmike
Yeah I just learned the if and switch statement....(or I believe so):rolleyes:
WOW I didn't thought of that... Nice, thanks mate!
OHH god I know what it was wrong XD
The code right above this one was:
System.out.println(age + age++);
Which made my age + 1 so when I put 50 it was 51 thats why it was giving me that I...
Well I'm totally new to java so I may be posting stupid/easy to find questions, but could someone please tell me why this happens?
Ok so this is my code :
int age = 50
System.out.println(age...