Search This Blog

Tuesday, December 17, 2013

What is class?
A class is collection of object. It is a user defined aggregate data type. A class may be defined as a group of object with same attribute and operations. For E.g. the color (class) contain various color; red, blue, etc. (objects)
Class contain the following attributes or members:-
         a)      Data Members
         b)      Member functions

         c)      Constructor

No comments:

Post a Comment