Computer Applications
Give two differences between Procedure Oriented languages and Object Oriented languages.
Answer
Two differences between Procedure Oriented languages and Object Oriented languages are as follows:
Procedure Oriented languages | Object Oriented languages |
---|---|
Procedure Oriented languages lay emphasis on functions and procedures rather than data. | Object Oriented languages lay emphasis on data rather than functions. |
Limited and difficult code reusability leading to lengthy programs which are difficult to debug and maintain. | Versatile and easy code reusability leading to simpler programs which are easier to debug and maintain. |
Related Questions
'Encapsulation reduces the complexity and makes the system easier'. Explain this statement with a real world example.
What is meant by Data Hiding?
Which of the Object Oriented programming principles explain the following illustrations? Justify.
(a) The variables and methods are put together in a Class.
(b) A man withdrawing money from ATM.
Give two differences between Data Hiding and Encapsulation.