Sorry, the above reply of mine was made seeing the last reply on page 1 of this thread.
But, I always use == to compare a variable(referring to a String) with a string constant in decision making...
Type: Posts; User: ranjithfs1
Sorry, the above reply of mine was made seeing the last reply on page 1 of this thread.
But, I always use == to compare a variable(referring to a String) with a string constant in decision making...
The line should have been
if(usrInpt=="c")