Monday 17 July 2017

Object Oriented Programming ( Opps )

1. Object Oriented Programming ( Opps )

"Object oriented programming is an approach that provides a way of modularizing programs by creating partitioned memory area for both data and function that can be used as templates for creating copies of such modules on demand."

2. What are feature of OPPS?

  1. Abstraction - Show only what is necessary
  2. Encapsulation - a process of hiding all the complex processing
  3. Inheritance - Helps to defined parent child relationship between classes.
  4. Polymorphism - Object to act differently under different condition.

3. What is class?

User define datatype, or Class is blue print.

4. What is object?

instance of class.

5. What is function?

Group of statement.

No comments:

Post a Comment