Search:

Type: Posts; User: Dark knight

Search: Search took 0.08 seconds.

  1. Re: help needed to know how the code is running

    thanx zaphod_b for the clarification i get it now and i will keep in mind the thread thinng....
    thanx pbrockway2 but i dont have JLS to refer with i am using complete reference for java should i...
  2. Re: help needed to know how the code is running

    class None{
    public static void main(String args[])
    {
    byte b =-2;
    b = (byte)(b>>>10);
    System.out.println("the value of b is"+b);// output -1
    }
    }

    I am not getting why this code is generating...
  3. Re: help needed to know how the code is running

    thanx Zaphod_b you were a great help i have been referring complete reference for java i read about type promotion and casting and now i understand it completely...
  4. help needed to know how the code is running

    class Char{
    public static void main (String a[])
    {
    char c1,c2,c3;
    c1=64;
    c2=187;
    //c3=64+187;
    System.out.println("The symbol is "+ (c1+c2));
    }
    }
Results 1 to 4 of 4