Page 1 of 1

Practical approach to Object-oriented programming (OOP):-

Unread postPosted: Sun Mar 29, 2015 11:39 am
by maida shahzad
Object-oriented programming:-
Definition:-
It is a programming language model organized around "objects" rather than "actions" and data rather than logic.
Explanation:-
It has been seen that a program is basically a logical procedure that takes input data from the user, processes it and produces output data as useful information.
The programming challenge is not how to define a data; however it’s to write the logic. OOP takes the view that what we really care about are the objects we want to manipulate rather than the logic required to manipulate them.
Steps of OOP:-
The 1st step in OOP is to identify all the objects the programmer wants to manipulate and how they relate to each other, an exercise often known as “Data Modeling”. Once an object has been identified, it is than generalized as a class of objects which defines the kind of data it contains and any logic sequences that can manipulate it. Each distinct logic sequence is logic known as “method”. Objects communicate with well-defined logic sequence is known as “method”.
1st OOP language:-
Simula was the 1st OOP language.
Whereas Java, Python, C++, Visual basic, NET and Ruby are the most popular OOP languages today.