0
Please help me figure out why my code keeps returning "invalid"
https://code.sololearn.com/cepk86A4V3tZ/#java I do not know how to get the if statement to return the string inside of the parameters. Thank you in advance.
1 Antwort
+ 1
Instead of == use gray.equals(Garrison)
Why?
Here is the link
https://www.geeksforgeeks.org/difference-equals-method-java/amp/