30 likes | 48 Views
FOR MORE CLASSES VISIT<br>tutorialoutletdotcom <br><br>Introduction to Classes The concept of a class is the same as that of a structure: it is a user-defined data type that is used to<br>create a group of variables that may have different data types.
E N D
Introduction to Classes The concept of a class • FOR MORE CLASSES VISIT • tutorialoutletdotcom • Introduction to Classes The concept of a class is the same as that of a structure: it is a user-defined data type that is used to • create a group of variables that may have different data types. In addition to the data members, a member of a class can also be a function. A member function is in general specified in the class definition by its function prototype with its