Unit - III
Classes and objects:
Introduction - specifying the class - defining member function - A C++ program with class - making an outside function inline - Nesting of member functions - Private member functions - Arrays with in a class - Memory allocation for objects - Static data members - Static member functions - Arrays of objects - objects as function arguments - friendly functions - returning objects - Constant member functions - Pointers to member - local classes.
Constructors and Destructors:
Introduction - constructors - parametrized constructors - multiple constructors in a class - constructors with default arguments - dynamic initialization of objects - copy constructors - dynamic constructors - constructing two dimensional arrays - constant objects - Destructors.
No comments:
Post a Comment