Difference between Procedure and Object oriented programming
Difference between Procedure and Object oriented programming:
Procedure Oriented Programming
Larger programs are divided into smaller procedures
Data is not hidden
Data can be accessed by external functions
Follows top down approach
Data may communicate with each other through functions
Importance given to procedure rather than data
Object Oriented Programming
·
Larger programs are divided into objects
·
Data is hidden
·
Data cannot be accessed by external functions
·
Follows bottom up approach
·
Objects may communicate with each other through functions
Importance given to data rather than procedure
Comments
Post a Comment