Object-oriented programming is radically different from the traditional software-writing methods. Instead of having data manipulated by commands, the data is the focus of the code. This is much easier to write and think about because data are grouped into objects. Objects can contain data (such as integers and characters), other objects, and functions. Together these groups are known as classes. A programmer can easily define his own classes and use its functions to efficently process data. For more info, see http://en.wikipedia.org/wiki/Object-oriented_programming.
actually oop concept have some disadvantage when compared to structured programming
Object-oriented programming is a more recent subset of structured programming. Structured programming emphasized the need to align data structures with program structure, a concept that is formalized and carried much further in object-oriented programming. However, structured programming advocated hierarchical constraints on program structure that are incompatible with the event-driven, message-passing software architectures commonly implemented in the object-oriented style, today.
Object oriented programming and structured programming.
Edmund W. Faison has written: 'Borland C [plus plus] 4 object-oriented programming' 'Borland C++ 3 object-oriented programming' -- subject(s): Borland C++, C++ (Computer program language), Object-oriented programming (Computer science) 'BorlandC[plus plus] 4.5 object-oriented programming' -- subject(s): Borland C., C., Object-oriented programming (Computer science) 'Borland C++ 3.1 object-oriented programming' -- subject(s): Borland C++, C++ (Computer program language), Object-oriented programming (Computer science)
because it uses bottom up approach
Andrew C. Staugaard has written: 'Structured and object-oriented techniques' -- subject(s): C++ (Computer program language), C 'How to program and interface the 6800' -- subject(s): Motorola 6800 (Microprocessor), Programming 'Structured and object-oriented problem solving using C++' -- subject(s): Accessible book, C++ (Computer program language), Object-oriented programming (Computer science), Structured programming '6809 microcomputer programming & interfacing, with experiments' -- subject(s): Programming, Motorola 6809 (Computer) 'Robotics and AI' -- subject(s): Artificial intelligence, Industrial Robots, Robotics, Robots, Industrial '6809 microprocessor programming' -- subject(s): Laboratory manuals, Motorola 6809 (Computer)
By itself, structured programming does not support the notion of a function call. This is achieved through an extension of structured programming known as procedural programming. Object-oriented programming extends procedural programming such that data and the functions that operate upon the data can be encapsulated within an object.
Object Oriented Programming is a subset of structured programming. After objects are created in a program, you use those objects and their methods to operate the program. In structured programming, you have a program with many methods in which you can use. One difference between structured programming and object-oriented programming is that structured programming uses the data that is given to them through parameters, while in object-oriented programming, the methods act upon the object's data (fields). This makes programming much easier because the fields are all there and you do not have to make sure that the correct field is passed to the correct method. All you have to do is call which field you want to work with.
No. Structured programming came before object-oriented programming. Most OOP languages make use of structured programming, but only because they were already using structured principals, not because they now use OOP principals.
I. Craig has written: 'Programming in Dylan' -- subject(s): Dylan (Computer program language) 'The interpretation of object-oriented programming languages' -- subject(s): Object-oriented programming (Computer science)
By itself, structured programming does not support the notion of a function call. This is achieved through an extension of structured programming known as procedural programming. Object-oriented programming extends procedural programming such that data and the functions that operate upon the data can be encapsulated within an object.
If you work a while with object-oriented programming, you'll notice that it offers huge benefits over the traditional approach. In fact, you would rather not use a programming language that doesn't have at least the option of object-oriented programming, if you have the choice.