Search:

Type: Posts; User: Tank314

Search: Search took 0.08 seconds.

  1. Replies
    4
    Views
    1,652

    Re: switch statement

    Never mind I just made some typos. Fixed now.
    The typos were in System.outprintln and I made 2 same cases.

    Hahaha so funny to read post of an elder who is tired of noobs like me :D
    I apologize.
  2. Replies
    4
    Views
    1,652

    switch statement

    class murderer{
    public static void main(String args[])
    {
    int age;
    age = 3;

    switch (age)
    {
    case 1:
    System.out.println("You can't kill");
Results 1 to 2 of 2