Front | Back |
ENCAPSULATION
|
WRAPPING UP OF DATA AND ITS RELATED FUNCTIONS INTO A SINGLE UNIT IS CALLED ENCAPSULATION.IT IS IMPLEMENTED IN C++ USING CLASS
|
DATA ABSTRACTION AND DATA HIDING
|
GIVING AWAY THE ESSENTIAL DETAILS AND HIDING THE UNESSENTIAL DETAILS IS CALLED DATA ABSTRACTION AND DATA HIDING.DATA ABSRACTION IS IMPLEMENTED USING PUBLIC MEMBER FUNCTIONSDATA HIDING IS IMPLEMENTED USING PRIVATE MEMEBRS
|
POLYMORPHISM
|
ABILITY OF A FUNCTION TO BE PROCESSED IN MANY FORMS.IT IS IMPLEMENTED USING FUNCTION OVER LOADING
|
INHEIRTANCE
|
THE ABILTY OF A CLASS TO INHERIT THE PROPERTIES OF AN ANOTHER CLASS IS CALLED INHERITANCE
|
CONSTRUCTOR
|
IS A MEMBER FUNCTION OF THE CLASSIT HAS THE SAME NAME AS THAT OF THE CLASSIT HAS NO RETURN TYPEIT IS INVOKED AUTOMATICALLY WHEN A OBJECT IS CREATED.CONSTRUCTOR IS USED TO ALLOCATE MEMORY AND INITIALISE THE OBJECT
|
DESTRUCTOR
|
IT IS A MEMBER FUNCTION OF A CLASSHAS THE SAME NAME AS THAT OF THE CLASS BUT IS PRECEDED BY A ~ SYMBOLIT GETS INVOKED WHENEVER AN OBJECT GOES OUT OF SCOPE
|
CLASS
|
A CLASS IS A TEMPLATE FOR AN OBJECT
|
OBJECT
|
IT IS AN INSTANCE OF A CLASS
|
MODULARITY
|
BREAKING UP OF A LARGER PROGRAM INTO SMALLER MODULES CALLED FUNCTIONS
|