5
No matter what I say, both "yes" and "yes" just show the ELSE. Where am I going wrong? 
package saudacao;
import java.util.*;
public class Saudacao {
    public static void main(String[] args) {
        System.out.println("Ola, bom dia, voce esta bem hoje?");
        Scanner sdc_recebe = new Scanner(System.in);
        String sdc_armazena = sdc_recebe.nextLine();
        if (sdc_armazena == "Sim") {
            System.out.println("Que bom!!!");
        } else {
            System.out.println("Que pena!!!");
        }
    }
}
You’re writing "Yes" or "Yes"?
– Lucas Lima
does not matter, either Yes or yes only displays ELSE
– flourigh
Hi, Fye, thank by voting positively and if so put this kind of remarks as a comment instead of in the body of the question.
– brasofilo