错误代码,求问
求问代码哪里错了
public class HelloWorld{
public static void main(String[] args) {
int score = 94;
String sex = "女";
if (score > 80)
{
if( sex.equals("男") )
String.out.println("进入男子组决赛");
else
{
String.out.println("进入女子组决赛");
}
}
}
}
错误代码如下:
/85/1356/Beht/HelloWorld.java:8: error: cannot find symbol
String.out.println("???????");
^
symbol: variable out
location: class String
/85/1356/Beht/HelloWorld.java:11: error: cannot find symbol
String.out.println("into the fomale");
^
symbol: variable out
location: class String
2 errors
错误信息如下