想知道这样子行吗 我运行出来的结果也是可以执行的
public class HelloWorld {
    public static void main(String[] args) {
        int score = 78;
        String sex = "男";
        String jg;
            if (score>80)
                if (sex == "女")
                    jg = "进入女子组决赛";
                else jg ="进入男子组决赛";
            else jg = "出局";
            
        System.out.println(jg);
    }
}

 
                            