problem with string comparison

Hi what is is wrong with following price of code....

if( !(row.getString("yy").equals("Unknown")) && !(row.getString("yy").equals("AT&T")) && !(row.getString("yy").equals("MCI")))

Thanks

vivek

[420 byte] By [vivek.shankara] at [2007-10-2 5:37:09]
# 1
I don't know.What do you want it to do? What is it doing instead?
targaryena at 2007-7-16 1:47:40 > top of Java-index,Java Essentials,New To Java...
# 2
Thanks for quick response....this line throws up soem error...is it a valid java statement?Thanksvivek
vivek.shankara at 2007-7-16 1:47:40 > top of Java-index,Java Essentials,New To Java...
# 3
OOPS SORRY FOR WASTING TIME!! its working....really sorry abt it...regardsvivek
vivek.shankara at 2007-7-16 1:47:40 > top of Java-index,Java Essentials,New To Java...
# 4
Don't waste our time by telling us "it throws up some error".What error? Be specific. Paste it here.
DrClapa at 2007-7-16 1:47:40 > top of Java-index,Java Essentials,New To Java...
# 5

> Thanks for quick response....this line throws up soem

> error...is it a valid java statement?

>

> Thanks

> vivek

What is the exact error message? Paste it in.

I'm not going to try to read that whole big long and figure out where the error is.

Is it a compile-time problem or runtime? If compile time, then obviously it's not a valid Java statement.

targaryena at 2007-7-16 1:47:40 > top of Java-index,Java Essentials,New To Java...
# 6
> OOPS SORRY FOR WASTING TIME!! its working....really> sorry abt it...> > > regards> vivekOkay, glad you got it.So what was the problem?
targaryena at 2007-7-16 1:47:40 > top of Java-index,Java Essentials,New To Java...
# 7
i had accidentally typed some bracket in the editor ...which i faled to notice for abt 15 mins :-(( cause i guess i was obssessed with this line thinking whether it is correct or not !!! Sorry again for the troble...i would be more careful in future before posting
vivek.shankara at 2007-7-16 1:47:40 > top of Java-index,Java Essentials,New To Java...