POP vs OOP

Difference Between Procedure Oriented Programming (POP) & Object Oriented Programming (OOP) Procedure Oriented Programming Object Oriented Programming 1 Programs are divided into small parts called functions. Programs are divided into parts called Class. 2 Importance is not given to data but to functions as well as sequence of actions to be done. Importance is given to the data rather than procedures or functions because it works as a real world. 3 POP follows Top Down approach. OOP follows Bottom Up approach. 4 POP does not have any access specifier. OOP…

Read More

BASIC CONCEPTS OF OOP

oop features

Basic Concepts of Object Oriented Programming Objects Classes Inheritance Polymorphism Data abstraction Data Encapsulation Dynamic binding Message passing OBJECTS Objects are the basic run-time entities in an object-oriented system. They may represent a person, a place, a bank account, a table of data or any item that the program must handle. The fundamental idea behind object oriented approach is to combine both data and function into a single unit and these units are called objects. The term objects means a combination of data and program that represent some real word…

Read More