OBJECT ORIENTED PROGRAMMING

The topics covered are  Encapsulation DataAbstraction and Data Hiding Polymorphism Inheritance Modularity Class and Ojects Constructors and Destructors  

9 cards   |   Total Attempts: 188
  

Related Topics

Cards In This Set

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