Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are the differences between procedure-oriented
languages and object-oriented languages?

Answer Posted / sourabh

In procedural programming the main emphasis is on procedure
while in object oriented the data is important part. on the
same hand data is more secured in object oriented program.
-----------------------------------------------------------
Procedure Oriented Language:
---------------------------
PO Language is fully concentrates on
Procedures/functions/methods. It normally works as a
sequence of actions as seen in flowchart or in any
algorithm. It follows top-down approach. It totally focuses
on methods and not the data which is utilized by methods.
In PO languages if data is used by many methods then its
declared as global data but there is a problem if we do
that, what is that, if we forgot or by mistake if we
consume that data in some other method than it comes with
problem. Mostly these scenarios happen in large systems.

Example: COBOL, PASCAL, C, FORTRAN etc.

Object Oriented Language:
------------------------
OO concepts says it think about data and bind that data and
methods those are manipulating that data into one entity
known as object and then utilize that object into system.

Example: C++, Java, C#, VB.Net etc.

There are some fundamental concepts of OO Language which a
language has to follow to be a truly OO language.

&#8226; OBJECT
&#8226; CLASS
&#8226; ABSTRACTION
&#8226; ENCAPSULATION
&#8226; DATA HIDING / INFORMATION HIDING
&#8226; INHERITANCE
&#8226; POLYMORPHISM

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is it possible to set an infinite execution time for php script?

934


When you want to show some part of a text displayed on an html page in red font color? What different possibilities are there to do this? What are the advantages/disadvantages of these methods?

854


What is use of header() function in php? What the limitation of header()?

929


Is set in php?

924


Explain object-oriented methodology in php?

938


Can php run without server?

999


What is the use of mysql_fetch_array in php?

982


What is null value in php?

988


How to randomly retrieve a value from an array?

1037


Tell me how to set a page as a home page in a php based site?

891


What is the difference between php 5 and php 7?

913


Which is incorrect with respect to separating php code and html?

965


How can I learn php fast?

1022


What are php errors?

910


What enctype is required for file uploads to work?

969