What is a Class and Object in C++?
Can we say that a Class is an Object?
Class is a collection of data member and member function.
Class is a user define data type.
Object is a class type variable.
Objects are also called instance of the class.
Each object contains all members(variables and functions) declared in the class. We can access any data member or member function from object of that class using . operator.