Object-oriented programming:-
Object-oriented programming is programming using objects. This is a very popular and powerful way to write programs; after all, the reason for the development of C++ from C was to introduce object-oriented features into a language that was already successful and popular. To see why this approach is so popular, let’s look at how object-oriented programs are developed.
The first step in writing an object-oriented program is to identify the types of the objects that will be used. This can often be done from a description of the problem area and by discussing the problem with those familiar with it. These object types are specified in terms of their attributes and methods and then programs are written to implement them. Finally, the programs that use the instances of these object types (these instances are called, unsurprisingly, objects) are themselves written.
This is the power of object-oriented programming. If programs have been written to implement a particular object type, the code can be reused in many programs that also use the object type. Programmers can quickly build up libraries of working object types that they can use over and over again in many different programs. The savings in terms of time and money can be enormous.


LinkBack URL
About LinkBacks
Reply With Quote

LinkBacks Enabled by vBSEO
Bookmarks