Are these 2 lines going to compile and run? For me its giving error stating "Invalid statement". Also I am confused. Please help me out with the above two.
[ March 09, 2008: Message edited by: sandhi mridul ]
Hi Sandhi, what you said is rite. is comparision and is Assigment Instead of this you can use as
moreover,i dont know why the following check needed its enough to have as
you may try down as
Joined: Jan 25, 2008
Thanks Hamsagayathri. But still not sure if line 1 and 2 going to compile or not. I found these in 2 diffrent mock test with diffrent answers. I tried but giving Compiler error. So just need to conform.