English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

POL stands for procedure oriented languages. Plz help me to knoe the definitions of OOP & POL with appropiate difference ?

2006-11-03 16:51:28 · 5 answers · asked by arjun 1 in Computers & Internet Programming & Design

5 answers

in pol..

u hav data in global place or as a global var.
n then we start writin functions which operate on that data.
if somethin in structure of data changes we have 2 change all functions which op on that data.
n data as a global var can b changed anywhere frm prog. may result in inconsistent result if complextiy is high n dignosis became impossible.
data insecure....

but in oops:

wat is imp is data, data security
we first define data , data structure in a class n define d set of methods which can operate on that data.
data is not global now.
data has its manupulatin methods associated with it n no other method / function can access or modify that data n hence
secured.
has more real world meanin..
n easy 2 program in case of event driven programin.n in case of very complex projects..

sorry if not upto d mark but tried up2 my level

2006-11-03 17:46:54 · answer #1 · answered by sachin 1 · 0 0

NANI F There are also significant differences from C++, which fundamentally makes Java distinct from C++. Perhaps the single biggest difference between Java and C++ is that Java does not support pointers. Pointers are inherently insecure and troublesome. Since pointers do not exist in Java, neither does the -> operator. Some other C++ features are not found in Java. 1 Java does not include structures or unions because the class encompasses these other forms. It is redundant to include them. 2 Java does not support operator overloading. 3 Java does not include a preprocessor or support the preprocessor directives. 4 Java does not perform any automatic type conversions that result in a loss of precision. 5 All the code in a Java program is encapsulated within one or more classes. Therefore, Java does not have global variables or global functions. 6 Java does not support multiple inheritance. 7 Java does not support destructors, but rather, add the finalize() function. 8 Java does not have the delete operator. 9 The << and >> are not overloaded for I/O operations. 10 Java does not support templates.

2016-05-21 22:23:27 · answer #2 · answered by Anonymous · 0 0

OOPS-The program is basically triggered by the user when he does an action on an object...example you goto a sign in page...you give ur username and password you click on submit it logs in and if you click on cancel the page is reset and your action cancelled...so for the same page multiple actions are possible which depends on what you do...this is called object oriented program which is user friendly
POL-procedure oriented language...here there is certain procedure defined and the user has to progress only in that direction nothing else is possible
Hope you got it!!

2006-11-03 17:18:41 · answer #3 · answered by Harish 3 · 0 0

Here is my answer to that question in a homework assignment - it got full credit:

3.Procedural and event-driven programming differs mainly in how their flow-control approaches are handled. According to the text: the control flow of event-driven programs are mostly decidied by external events, such as the click of a button. In procedural programming, the program specifies the sequence of all operations in a step-by-setp manner, and the order of the program statements determines how the computer program will carry out a task.

OOP is a programming approach that empasizes working with objects and buiding programs by defining categories of objects that share common characteristics.

2006-11-03 17:02:31 · answer #4 · answered by timmytude 4 · 1 0

oops is the name given to the theory in which data is the most the imp thing to be taken care of rather then the procedure to be followed on it... data hiding , data encapsulation r the main characteristics of it... u can recognize a oops supporting programming language by classes and object in it

2006-11-03 16:57:15 · answer #5 · answered by aman g 2 · 0 0

fedest.com, questions and answers