System.out.print ("Create a savings account? Enter yes or no: ");
String createSavingsAccount = console.readLine();
if (createSavingsAccount == "yes")
{
System.out.print ("Enter the balance in the savings account: ");
savingsBalance = Double.parseDouble(console.readLine());
}
When I enter yes, the program skips the if statement and goes back to the main menu. How do I get it to check the user input?