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 step...
Nice..
ReplyDelete