单选题 Object类中的方法public int hashCode(),在其子类覆盖该方法时,其方法修饰符可以是______。
  • A.protected
  • B.public
  • C.private
  • D.缺省
【正确答案】 B
【答案解析】