+ 2
Help me with java code please
Please help me, I dont know why my code isnt running. It says wrong password when I try to type dustin as the password along with putting 40 hours and 10 an hour https://code.sololearn.com/c9Co9AKMQCSO/?ref=app
3 Answers
+ 8
Change if(pass == password) to if(pass.equals(password))
https://stackoverflow.com/questions/513832/how-do-i-compare-strings-in-java
+ 1
Sorry, i changed it
0
Please don't have a foul language output, thanks