已知函数getStudent()定义为public Student getStudent(int ID),下列四个选项中可以与getStudent构成重载的方法是
A、privateStudentgetStudent(intID);
B、publicStringgetStudent(intID);
C、StudentgetStudent(Stringname);
D、publicStudentget(intID)
发布时间:2024-12-02 16:07:13
A、privateStudentgetStudent(intID);
B、publicStringgetStudent(intID);
C、StudentgetStudent(Stringname);
D、publicStudentget(intID)