adspace
compair and contrast procedrual and object oriented
programming language
Answer Posted / Ajay Kumar Jain
Procedural programming languages focus on defining procedures or functions to manipulate data, while object-oriented programming (OOP) languages revolve around creating objects that contain both data and methods to operate on the data. Here's a brief comparison:n
1. Control Structure: Procedural languages have a simple control structure based on sequential, selection, and repetition statements. In contrast, OOP uses classes and objects for encapsulation and inheritance.
2. Abstraction: Both procedural and object-oriented programming support abstraction but approach it differently. Procedural languages abstract by defining functions, while OOP achieves abstraction through classes and interfaces.
3. Reusability: Object-oriented programming promotes reusability through inheritance and polymorphism, allowing programmers to create generalized components that can be reused in multiple applications. Procedural languages offer limited reusability by defining functions separately.
4. Coupling: Object-oriented programming tends to have lower coupling due to the encapsulation of data within objects. In procedural programming, functions can interact directly with each other, leading to higher coupling.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
please provide me the type of questions or question pattern of bally.
please send aptitude test papers for reference with answers
sir, please send me the last three years exam papers conducted by CPCL- RECRUITMENT EXAM FOR Recruitment of Engineer ELECTRICAL ENGINEERING. A Soon as possible. i would be greatfull to u
what are the main points to be included in our introduction when asked in hr...??
need tcs questn papers from 2007 to 2009 plzzzmail to 9015.rama@gmail.com its urgent
hi, please send me "state bank of india", last 5 years question paper with answers to my mail id.
how to create user name stape by stape in cisco router {with command}
What have you done to improve or develop your knowledge / professional qualifications in the last year?
Hi dost here Alok Kumar please send question pattern for NIC at godinall.kumar1@gmail.com or alok.iitb07@gmail.com
I am looking for NIC Scientific Officer / Engineer-SB (Programmer)Sample papers or any portion of questions/ syllabus plz, send me on sengupta.pranab@gmail.com. Regards PRANAB
I have applied for the post of Section Engineer. plz anyone send me the previous question paper. i did my engineering in Information Technology.
sir,i am a 3rd yr student of computer engineering. i need atleast 10 previous year's placement papers of hcl,infosys & wipro. please send me these papers as early as possible.thanx for giving me your precious time.
if u have question papers/sample papers of any of PSUs,plz send me at dinesh.pandey3@gmail.com
Hi i want some previous interview questions and answers for KVB Bank.
write a c program which accepts input as Anu.B.Kapoor and gives output as:Kapoor.A.B plz send me the ans