0
Why I am not getting the output "You are in" even after providing the input "admin" as per the condition
I am giving input "admin" even then also I am getting the output "You are Out" so please tell me where am i mistaking https://code.sololearn.com/cw6EIqwb1mua/?ref=app
1 Answer
+ 5
You can't compare strings using == in Java
Simba has given a similar thread ...
Learn this lesson :
https://www.sololearn.com/learn/Java/2178/?ref=app