I'm brand new to coding and am trying to figure out why my else statement isn't working. I'm not sure if it is because of my boolean statement. I tried adding else as false for the boolean but that did not work.
import java.util.Scanner;
public class Practice {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("Are you exercising tonight?");
        String answer = input.nextLine();
        System.out.println("You said " + answer + " Are you sure?");
        String answer2 = input.nextLine();
        boolean Yes = true;
        if (Yes) {
            System.out.println("Good. That's what I wanted to hear");
        } else {
            System.out.println("WRONG ANSWER");
        }
    }
}
 
    