Define the characteristics of class members in C++.

: 434
Paper : C++ Programming FAQ (Frequently Asked Questions and answers) for freshers | Platform : Object-oriented programming Language | Category : Programming FAQs

  • The data member and member functions must be declared inside the class only. 
  • It can not be re-declared. 
  • Members can not be added from somewhere else. 
  • It is accessible through class objects outside the class.