The Artima Developer Community
Sponsored Link

Java Answers Forum
Does not Equal Operationq

1 reply on 1 page. Most recent reply: Jul 28, 2003 1:48 PM by Greg Lehane

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Philip Pompili

Posts: 12
Nickname: ppompili
Registered: Jul, 2003

Does not Equal Operationq Posted: Jul 28, 2003 11:06 AM
Reply to this message Reply
Advertisement
I know I can use .equals for equating two variables but how do I use that for does not equals.
If it is even possible...
Thanks


Greg Lehane

Posts: 33
Nickname: glehane
Registered: Jun, 2003

Re: Does not Equal Operationq Posted: Jul 28, 2003 1:48 PM
Reply to this message Reply
if (!A.equals(B))

be careful with .equals()

=- Greg

Flat View: This topic has 1 reply on 1 page
Topic: From where can I download JDK1.2 & JSDK1.2 FREELY Previous Topic   Next Topic Topic: java install help

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use