Search:

Type: Posts; User: chinnu&manu

Search: Search took 0.12 seconds.

  1. Replies
    6
    Views
    1,026

    Re: regarding String

    thanku........
  2. Replies
    6
    Views
    1,026

    Re: regarding String

    k...thanku but

    i need one confirmation whether object reference and hashcode are same or not
  3. Replies
    6
    Views
    1,026

    Re: regarding String

    but i am getting the same hashcode for both the objects....
  4. Replies
    6
    Views
    1,026

    regarding String

    1)whether object reference and hashcode are equal or not?


    2)if it is equl


    String s1=new String("ravikumar");
    String s2=new String("ravikumar");
    if(s1==s2)//here i am getting false y
Results 1 to 4 of 4