class Person {     // 类名称首字母大写
private int age ;
private String name ;
private String position ;
private int age ;
private int age ;
private int monthly ;
private int yearly ;
//}多了一个
public void tell() {
System.out.println("编号:"+ name " + " + "职位" + "基本工资:" + "佣金:" + "月薪:" + "年薪:" )
}
}
public class TwstDemo {
public static void main(String args []) {
new Person("1234",服务员,1200,10,2100,12000).tell() ;//没定义构造函数
}
}