what is object oriented programming and procedure oriented
programming?
Answers were Sorted based on User's Feedback
Answer / subhashish sen
Object oriented programming as the name says everything is
object.that means the fundamental entity in object oriented
programming is an "OBJECT".For this we need to create a
class and by creating an object of that class we can
manipulate.And this programming follows bottom-up approach.
But in procedure oriented proramming,the fundamental entity
is a "FUNCTION"(procedure).that means if dividing a complex
program into number of functions and execute it in
collective manner.It follows top-down approach.
| Is This Answer Correct ? | 33 Yes | 3 No |
Answer / achal ubbott
OOP is basically a way of doing organized programming. When
in old times, computer programs began to expand hugely then
a need to organize the code became important. So OOP came
into being.
Otherwise procedural programming(like in C) is enough to
get things going. But huge programs in C become difficult
to deal with. Since everything is global so a lot of
inconsistencies may arise.
| Is This Answer Correct ? | 9 Yes | 8 No |
Answer / poorna chandar rao.yerrabothu
difference bettwen the procedural oriented programming
language and object oriented programming language
one example of procedural oriented programmin language "C"
in c language is system dependent programming language
system devlopment programming language means
for example sample.c is the one programm when the compile
this program it generates mechinecode language in this
mechine code languge perticular operating system executes if
supoose it executes onother operating system its not working
thats why procedural oriented programming language is system
dependent
if suppose object oriented programming JAVA is system
dependent because sample.java after compile it genreates
byte code instruction it executes ant operating system thats
why object oriented programming languge is system
independent language
| Is This Answer Correct ? | 6 Yes | 11 No |
Difference between vector and array
What is an object?
difference between abstraction and encapsulation with progarammatic eg. hi,just recently i went for an interview .The interviewer asked what is the difference between abstraction and encapsulation with programmatic eg. I gave the answer as encapsulation mean hiding the relevant data which is not useful for the user, eg a electric fan .hiding the information how the electricity is converted into machanical energy. abtraction showing only the relevant data to the user eg electric fan. it look ,its color ,it design etc only relevant data. Then the interviewer asked me, give me some programmic eg .I Said Let assume a web form having control like textbox,button etc. The user can view textbox,button etc this is the eg of abstraction and when the user click on the button how he is redirected is not known by the user is the eg of the encapsulation. Am I Correct .was the answer given by me is perfect .now i am planing to go for an another interview should i give the same answer.IF not please suggest me a better answer.with some good eg Please help
Difference ways of Polymorphism?
Can you explain polymorphism?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
function overridind means and simple program
what is multi level inheritance give n example ?
13 Answers HDFC, Hulas Steel, Ness Technologies,
write a program that takes input in digits and display the result in words from 1 to 1000
Why is oop better than procedural?
how to find no of instances of an object in .NET?
What is encapsulation process?