请问哪错了
public class HelloWorld{
public static void main(String[] args) {
name="爱慕课";
sex='男';
num=18;
price=120.5;
isOK=true;
String name="爱慕课";
char sex='男';
int num=18;
double price=120.5;
boolean isok=true;
System.out.println(name);
System.out.println(sex);
System.out.println(num);
System.out.println(price);
System.out.println(isOK);
}
}
哪错了