Objects

            Objects are the basic run-time entities in an object-oriented system. They may represent a person, a place, a bank account, a table of data or any item that the program has to handle.They may also represent user – defined data such as vectors, time and lists. Programming problem is analyzed in terms of objects and the nature of communication between them.Program objects should be chosen such that they match closely with the real-world objects.
An object is a software bundle of related state and behavior. Software objects are often used to model the real-world objects that are found in everyday life. In C++ the class variables are known as objects.

Example:
            class item
            {
                        int number;
                        float cost;
            public:
                        void getdata (int a,float b);
                        void putdata(void);

            };

int main() {
            item it;
}

it - is the object for the class item.
The declaration of an object is similar to that of a variable of any basic type. Objects can also be created when a class is defined by placing their names immediately after the closing brace.

class item
            {
                        int number;
                        float cost;
            public:
                        void getdata (int a,float b);
                        void putdata(void);

            }it,it1,it2;