Chapter1_6e.docVIP

  • 4
  • 0
  • 约 8页
  • 2016-12-03 发布于河南
  • 举报
Chapter1_6e

TRUE/FALSEFriend functions are members of the class.ANSWER: FALSEAll operators can be overloaded.ANSWER: FALSEIf you have mutators and accessors, you should not have friend functions alsoANSWER: FALSEFriend functions may directly modify or access the private data members.ANSWER: TRUEThe following is a properly declared overloaded insertion operator for myClass.ostream operator (ostream out, const myClass obj);ANSWER: TRUEFunctions that are constant member functions may call the class mutator functions.ANSWER: FALSEFunctions that are constant member functions may call constant class accessor fu

文档评论(0)

1亿VIP精品文档

相关文档