We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
NEED FOR OOP PARADIGM :
Object-Oriented Programming: Object-oriented programming is at the core of Java.
Therefore, this topic begins with a discussion of the theoretical aspects of OOP. Two Paradigms of Programming: As you know, all computer programs consist of two elements: code and data. Further more,a program can be conceptually organized around its code or around its data. These are the two paradigms. The first way is called the process-oriented model. This approach characterizes a program as a series of linear steps (that is, code). The process-oriented model can be thought of as code acting on data. Procedural languages such as C employ this model to considerable success. Problems with this approach appear as programs grow larger and more complex. To manage increasing complexity, the second approach, called object-oriented programming, was conceived. Object-oriented programming organizes a program around its data (that is, objects) and a set of well-defined interfaces to that data. An object-oriented program can be characterized as data controlling access to code. As you will see, by switching the controlling entity to data, you can achieve several organizational benefits.