What is An Object




What is An Object

An Object is an instance of a class. For example "int i" is an instance of type int. Object is a variable of type class which has a member functions as well as the ability to hold data values.

It is used to access the member functions and data members of a class, You may call it a real world object.