you have made mistake on if condition that's is like the one string is compare to another in java we use equals() method instead of ==.

So you create the condition like that...


if...