Search:

Type: Posts; User: ggmike

Search: Search took 0.09 seconds.

  1. Replies
    7
    Views
    1,627

    Re: (TOTAL BEGINNER)Stupid problem but still...

    Yeah I just learned the if and switch statement....(or I believe so):rolleyes:
  2. Replies
    7
    Views
    1,627

    Re: (TOTAL BEGINNER)Stupid problem but still...

    WOW I didn't thought of that... Nice, thanks mate!
  3. Replies
    7
    Views
    1,627

    Re: (TOTAL BEGINNER)Stupid problem but still...

    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...
  4. Replies
    7
    Views
    1,627

    (TOTAL BEGINNER)Stupid problem but still...

    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...
Results 1 to 4 of 4