Java Structured Vs Java Object Oriented Programming Or Basic Java Introduction
Introduction :
Object oriented programming (OOP) is the soul of Java. All Java programs follow the object oriented methodology. OOP is so important to Java that we must understand its basic principles before we can write even a simple Java program. Therefore, we will begin our study with a discussion of the theoretical concepts of Object Oriented Programming.
Structured Vs Object Oriented Programming :
As we know, every program consists of two elements :code and data. The code reflects "what is happening" and the data reflects "who is getting affected". A programmer can conceptually organize his program around its data. That is, some programs are written around code or around "what is happening" and others are written around "who is being affected." These are the two ways to construct our program. The first way is called the structured programming and supports process-oriented model. This approach treats 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 use this model to considerable success. However, problems with this approach appear as a program grows larger and more complex. To manage increasing complexity, the second way, called object oriented programming, was developed. Object oriented programming organizes a program around its data and a set of well-defined interfaces to that data. An object oriented program can be treated as – controlling access to code.
Read more topic—
The Java Concepts Part—
Relative topics–
Introduction Structured Vs Object Oriented Programming
Top-Down and Bottom-up Approaches
Advantages of top-down programming
Disadvantages of top-down programming
Why Object Oriented Approach and Features of object oriented programming ?
Thanks...
ReplyDelete