Search:

Type: Posts; User: Norm

Search: Search took 0.09 seconds.

  1. Replies
    6
    Views
    780

    Re: Why is if statement false?

    Yes.
  2. Replies
    6
    Views
    780

    Re: Why is if statement false?

    Because == doesn't compare the contents of an object.
  3. Replies
    6
    Views
    780

    Re: Why is if statement false?

    You should use the equals() method to compare String objects, not the == operator.
Results 1 to 3 of 3