单项选择题

为了使得System.out.println()输出对象引用的时候得到有意义的信息,我们应该覆盖Object中的哪个方法?() 

A. equals
B. hashCode
C. toString
D. notify

相关考题