Objects Objects are 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. An object is the instance of the class.
Objects are created in following way:
class classname
{
class definition
}object;
OR
class classname
{
class definition
};
main()
{
classname object;
}