In this tutorial we will learn concepts of Object Oriented Programming System (OOPS). OOP is a leading technique which is being used by many programmers now a day to build applications. In upcoming chapters we will see many concepts like encapsulation, inteface, abstraction, polymorphism and many more.
Usually people start learning programming by writing simple and small programs. They usually write all logics at one place which cause multiple problems like duplicacy, redundancy, maintenance etc. As time spent, many programming concepts came into picture to overcome this problem and failed due to some design issue. But Object Oriented programming with its approach helped developers a lot to achieve these constrainsts.
Before understanding what is mean by Object Oriented Programming (OOP), it is important to know about the other techniques or approach came in past. Intially when there was Unstructure Programming technique, everything was in same page. There was tremendous disadvantages once the program gets sufficiently large. If a statement needs at two place within same program, it must be copied at both the place. It was very difficult to maintain it when business ask to change any logic. To over come this situation a new technique came into picture and it was called Structured Programming or Procedure Oriented Programming (POP). In this technique program was divided into separate functions which was easier to manage and re-use as compared to unstructured approach. But this technique was also not so supportive as still every thing was at same place. Then Modular programming came into light and common functionalities was grouped into modules. But this came as a problem because there can be only one state per module so each module exists at most once in a program. Please click on the link to read more about these approaches.
Object Oriented approach came as a revolution and helped making programmer's life easier. It gained so much popularity due to some reasons.
The main idea behind this approach is to combine both data and function into single unit so that it should overcome modular programming problem. This unit is called Object. OOPS is total about managing objects. In the next part of this tutorial we will see more about objects and blue print which is known as class.