Chapter 7. Creating and managing classes and objects
After completing this chapter, you will be able to:
Define a class containing a related set of methods and data items.
Control the accessibility of members by using the public and private keywords.
Create objects by using the new keyword to invoke a constructor.
Write and call your own constructors. ...