OOP Flashcards
1
Q
What is OOP?
A
Object Oriented Programming is a system of programming which packages properties and behaviours into objects.
2
Q
What is POP?
A
Procedural Oriented Programming involves writing methods that perform operations on data.
3
Q
What is the Difference between POP and OOP?
A
- POP uses top-down approach while OOP uses bottom-up.
- Examples of programming languages that use POP: BASIC, FORTRAN 77, COBOL, PASCAL; examples of programming languages that use OOP: Java, C++, C#, Python, PHP, JavaScript.
- POP costs more time; OOP saves time.
- POP is not easy to maintain; OOP is much easier to maintain.
- POP is not secure; OOP is secure
- POP does not support inheritance; OOP supports inheritance.