Classes
Lesson Objectives
By the end of this chapter, you will be able to:
- Declare and define a class
- Access the members of a class using objects
- Apply access modifiers to encapsulate data
- Use the static modifier on data members and member functions
- Implement a nested class
- Utilize the friend specifier to access private and protected members
- Use constructors, copy constructors, assignment operators, and destructors
- Overload operators
- Implement functors
In this chapter, we will be learning about classes and objects in C++.