##AIM:To study classes and objects in C++
##THEORY:
C++ is an object-oriented programming language.
Everything in C++ is associated with classes and objects, along with its attributes and methods.
Attributes and methods are basically variables and functions that belongs to the class. These are often referred to as "class members".
A class is a user-defined data type that we can use in our program, and it works as an object constructor, or a "blueprint" for creating objects.
When a class is defined, only the specification for the object is defined; no memory or storage is allocated.
To use the data and access functions defined in the class, we need to create objects.
Syntax
class Class name { // The class
public: // Access specifier
int variablename; // Attribute (int variable)
string variable name; // Attribute (string variable)
};