试题详情
多项选择题Which of the following statements are true?() 

A、 The equals() method determines if reference values refer to the same object.

B、 The == operator determines if the contents and type of two separate objects match.

C、 The equals() method returns true only when the contents of two objects match.

D、 The class File overrides equals() to return true if the contents and type of two separate objects        match.

  • A,D
  • 关注下方微信公众号,在线模考后查看

热门试题