• 2022-06-08
    在下面附属类方法中的下划线处应填入的正确参数是[u]       [/u]。public void writeData(_______________) throws IOException{  GregorianCalendar calendar = new GregorianCalendar( );    calendar.setTime(hireDay);    out.println(name + “|”        + salary + “|”        + calendar.get(Calendar.YEAR) + “|”        + (calendar.get(Calendar.MONTH) + 1) “|”        + calendar.get(Calendar.DAY_OF_MONTH));}
    A: Employee[ ] e
    B: “employee.dat”
    C: PrintWriter out
    D: BufferedWriter