When you compare answer to "yes" or "no" you should use the .equals() or .equalsIgnoreCase() method from the String class
== checks the equality of the references. .equals() checks the equality of...
Type: Posts; User: DavidFongs
When you compare answer to "yes" or "no" you should use the .equals() or .equalsIgnoreCase() method from the String class
== checks the equality of the references. .equals() checks the equality of...