making my code look better

  • (2 Pages)
  • +
  • 1
  • 2

15 Replies - 1211 Views - Last Post: 17 May 2020 - 03:35 AM Rate Topic: -----

#16 NormR   User is online

  • D.I.C Lover
  • member icon

Reputation: 832
  • View blog
  • Posts: 6,392
  • Joined: 25-December 13

Re: making my code look better

Posted 17 May 2020 - 03:35 AM

Don't use == to compare Strings. Use the equals() method.
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2