answersLogoWhite

0


Best Answer

Procedure oriented way in Java (or any other OO Languages, VB.Net or C#) is to construct code in sequence with little or no delegations. A typical procedural program constructed in such way has the following characteristics:

  • A huge/long method
  • nested {} in more than 3 levels (for-loop, if-statements, try-catch, etc)
  • data elements are NOT organized into objects, just flat out in the plain sight. (For example, instead of defining a Name class, firstName, middleName, lastName, nickName are just strings)
  • A lot of arrays to organize things (using the same example for names. For 100 names, now the program would have an 100-element array for first names, another 100-element array for the last names.... In OO way, it would have been just 1 100-Name array, or a collection of Names)
User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is difference between procedure oriented and Object Oriented in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between structured oriented programming procedure and oriented programming?

LOTTA


What is the difference between gpss and simscript?

Gpss and simscript is the difference between gpss and simscript::: simscript:event oriented and gpss:transaction flow oriented.


What is the difference between general and specific task oriented rubric?

The difference between generic and specific task oriented rubric is that whereas one is holistic, the other one is analytic. The generic oriented rubric is holistic while the specific task oriented is analytic.


What is the different between c and c plusplus?

C is a procedure oriented programming and C++ is a object oriented programming.C++ is a superset of C.


What is the difference between oriented and orientated?

The difference is that Americans generally say "oriented," while the British say "orientated." It means the same in either case.


What is the difference between bsit and bscs degrees?

The difference between the BSIT and BSCS is the kind of units covered. Whereas the BSIT is more of theoretical oriented, the BSCS is technical oriented.


What is the difference between java and object oriented programming?

java is a programming language/platform that embodies object oriented programming concepts. The question of what is the difference is like asking what is the difference between cars and a Volvo.


What is difference between problem oriented and machine oriented languages?

machine oriented language: A programming language designed for use on specific class of computers. problem oriented language: A language whose statement resemble terminology of the user. Thanks


What is the difference between object oriented approach and procedure oriented approach?

Object oriented focuses on treating variables as objects that have the ability to perform certain tasks. Procedure oriented uses procedures (functions) to perform tasks on variables. For example, if you were writing a program for a DVD rental store: Object Oriented: thisdvd.assignTitle("Lethal Weapon"); thisdvd.rentTo("John Smith"); Procedure Oriented: String thisdvdnumber = 123; rentDvd(thisdvdnumber, "John Smith"); In the first case, you call functions that belong to object "thisdvd", like assignTitle(), rentTo(), etc. In the second case, you create a variable "thisdvdnumber", then call function "rentDvd()" and tell it which DVD to rent and to whom by passing those variables to it.


What is the distinct difference between object oriented concept and object oriented programming?

Object oriented concepts are a generalisation of the object oriented principals (encapsulation, inheritance, polymorphism and abstraction) without specifying a particular implementation of those principals. Object oriented programming is the application of those principals through an object oriented programming language.


Explain the difference between outward-oriented and inward-oriented growth?

Hahahahaha IB past paper?? Am doing the same question :D


What is the difference between mono product economy and import oriented economy?

Describe Nigeria's economy as Mono-product and import oriented economy