Search:

Type: Posts; User: helloworld922

Search: Search took 0.14 seconds.

  1. Replies
    6
    Views
    2,124

    Re: Operation ==

    Certain Strings also get cached. I believe it only caches Strings that are guarenteed constant and static/local.


    public static void main(String[] args)
    {
    final String c = " world";
    String a...
  2. Replies
    6
    Views
    2,124

    Re: Operation ==

    Low-down, object variables hold an address that points to the location of the object. Using the == operator on any such variables will try to compare the addresses of the two objects rather than...
Results 1 to 2 of 2