我是根据书<core java>的程序来写,开发环境是JDk1.8和IDEA14.1.4.
public Employee(String n, double s, int year,int month,int day){
name = n;
salary = s;
GregorianCalendar calendar = new GregorianCalendar(year,month-1,day);
hireDay=calendar.getTime();
}
Manager继承类Employee
public Manager(String n, double s, int year, int month, int day) {
super(n, s, year, month, day);
bonus = 0;
}
然后是注释部分
/**
* @param n the employee's name
*/
提示错误
this inspection points out unresolved references inside javadoc
我google了发现这个错误应该和IDEA这个集成开发环境有关,但是并没有找到合适的解决方法,请问大家应该如何解决。
是我的注释位置不对,应该在方法的前面注释。