importance of classesin oops...
by barkkathulla[ Edit ] 2012-09-22 13:02:17
STRUCTURES ARE USED TO PROVIDE A WAY TO GROUP DATA ELEMENTS.AND FUNCTIONS WHICH ORGANIZE PROGRAM ACTIONS INTO NAMED ENTITIES. A CLASS IS AN UNIT WHICH COMBINES BOTH DATA AND THE FUNCTIONS THAT OPERATES ON THE DATA.THE INTERNAL DATA OF THE CLASS IS CALLED AS MEMBER DATA AND THE FUNCTIONS ARE CALLED MEMBER FUNCTIONS.THE MEMBER FUNCTIONS MOSTLY MANIPULATE THE INTERNAL DATA OF A CLASS THE MEMBER DATA OF A CLASS SHOULD NOT NORMALLY BE ADDRESSED OUTSIDE A MEMEBER FUNCTIONS.THE VARIABLES OF A CLASS ARE CALLED
OF A CLASS ARE CALLED OBJECTS OR INSTANCES OF A CLASS.