Object Oriented Programming
There are two types of program paradigm in programming.
- procedure oriented progamming
- object oriented programming
- If seen today, only object oriented programming(oop's) is used.
- Oops it is a software development paradigm used to solve the problems coming in the procedure oriented approach.
- The biggest task in Oops is to not let the system flow during program development.
- In this, the problem is solved by the object , And the data and functions in it work with the object.
- Only the object's function can access the object's data.
- In oop's , The data and function are bind together what we call a class. We access that class by object
- Object is considered to be a partitioned area of computer memory that stores data and set of operations that can access that data.
- Objects can be used in a variety of different programs without modifications as the memory partitions are independent.
- Different data and functions are stored and processed for each object.
- Object
- Class
- Data abstraction and encapsulation
- Inheritance
- Polymorphism
- Dynamic binding
- Message passing
Class : class is a user defined data type.The class contain data and code that is accessed using the object. A class is a structure that defines the working of an object.many objects of the class can be created.
Data abstraction and encapsulation : data and function bind together this is called encapsulation.
👍
ReplyDelete✌️✌️✌️
Delete