What are the main differences between procedure oriented languages and object oriented languages?
• Procedural languages enforce sequential processing of instructions. Object oriented languages may implement event driven processing. • Procedural languages store all data as global while OOPs languages support data encapsulation — all related data is stored inside one object and only relevant data is shown to the user. • Facilities like function overloading and operator overloading (polymorphism) allow you to use same names and provide different functionality which avoids personalism in naming conventions. These overloaded versions are easy to use and remember.
Related Questions
- What Is The Difference Between Procedure Oriented Programing Languages And Procedured Oriented Programming Languages?
- What Is The Difference Between Procedure Oriented Programing Languages And Structured Oriented Programming Languages?
- What is Encapsulation in Object Oriented Programming (OOPS) Languages?