What is the difference between procedure -oriented language
and object oriented language?
Answer Posted / sandeep kumar l
pop divide the large task in to small tasks and then start
executing the task which is nothing but a function.what the
1st function execute can pass to 2nd one and it can do
it's operation an finally it can complete the task.so here
data is moving freely in all the functions where integrity
of data and uprightness of data is not at all possible.and
it is top to bottom approach.
eg:
consider an organisation knows as bank and they have close
all the accounts by the end of the month.so 1st person can
job is add all the credits and he send the same file to 2nd
person whose job is remove the debts and finally 2nd person
send the same file to 3rd one whose job is to close the
accounts .so,what else the previous person does can make
sense to next one in this data is freely moving through
out the task.
oops is quite opposite bootom to top approach what the 3rd
person do cannot know to 2nd & 1st person similarly what
the 2nd one does cannot know to the 1st one until and
unless he give the permission that respective cannot how
the work is done ;
eg:
10 cars
10 owners
only the owner who has the key can acess his own car .he
cannot do any other car.
similary making all of them together in to a single unit
and keeping the information hiding untill and unless u give
the permission other one won't access it.it can be possible
in oop by using acess specifiers knows as pulic and
private .in stead of function we use say object which has
state and behaviour (method)
exception handling can be done in oop which cannot be
stopped in pop.
security and reusabilityof code is done in oop through
method overloading and method overriding.which is not
possible in pop
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
hi..this is kartheek..complted mca in 2009..but i dont have knowledge in programing..but to learn new language.. which one is suitable for me?is SAP or IBM mainframes is suitable for me..?if it suits how much will it costs..?pls answer...
How will you prove that java swing is multithreaded?
how sap is different from other software ?
I need to fetch all rows from the table based one field value in the table and later do a condition check if the condition is true I will have to move all the rows present in the data base to output file one else if the condition is not satisfied then move all the records of that field value into another file .Please let me know how to do that
what is delegate and how works delegate and event.
Busy waiting is a method whereas a taskwaits for a given event by continiously checking for an event to occur. What is the main problem with this approach
Define Form modules, Class modules and Standard modules
smal talk is pure object oriented or not?
Any real time example of O2C process from taking order till creating invoice.
what are other resources are needed for this mantis?
Difference between debugging, running, executing of an application
Mainly Related to Oracle, DBMS , Oracle Stored Procedures, Functions, Oracle 9i Architecture, Redo logs..., Views,
is it possible to desable particular parameter of the normal orcle report based on some condition ?????? if yes,wht is the function for desabling a parameter...
Please describe an example where you used object orientation in one of your programs.
what is adodb??y it is used for connection of V.B and access??what is ado?dao?