问题 单项选择题

Object类中的方法public int hashCode(),在其子类覆盖该方法时,其方法修饰符可以是()。

A.protected

B.public

C.private

D.缺省

答案

参考答案:B

填空题
多项选择题