单项选择题

默认情况下,使用实体类类型作为处理器参数,请求中有参数名为sex的参数值时,实体类必然有()

A.sex成员变量
B.setSex()方法
C.getSex方法
D.setSex()和getSex()方法