c++ object:-

1. Objects are the basic run-time entities in an object-oriented system.

2. They may represent a person, a place, a bank account, a table of data or any item
that the program has to handle.

3. No storage is assigned when we define a class.

4. Objects are instances of class, which holds the data variables declared in class
and the member functions work on these class objects.

5. Each object has different data variables. Objects are initialized using special class
functions called Constructors.

6. Whenever the object is not in use , another special class member function
called Destructor is called, to release the memory reserved by the object
.

7. Two ways of representing objects of class are:


Post a Comment

If you have any doubts, Please let me know
Thanks!

Previous Post Next Post