System.out.println("查询到的学号和密码:"+student.getStudent_id()+"和"+student.getPassword());
当student对象为空时取值会造成错误