不明所以,这样怎么显示有错误,而在Eclipse显示正确
public class HelloWorld{
public static void main(String[] args) {
String name="爱慕课";
char sex='男';
int num=18;
double price=120.5;
boolean isOK=true;
System.out.println("name:"+name);
System.out.println("sex:"+sex);
System.out.println("num:"+num);
System.out.println("price:"+price);
System.out.println("isOK:"+isOK);
}
}