Advantages of Object Oriented Programming
In procedural paradigm the programming style emphasis on procedures rather than data.In procedural programming the data is straight forward one.in procedural programming Code is executed from the top of the file to the bottom.Example for the linear programming is C language.Unfortunatilly C language Still used by programmers. Example for OOP programming is C++.It is not linear like C language.Now a days C++ is used more than C language. It supports Multi-paradigm. It support Polymorphism an Inheritance. It support string type.It support classes and objects.So it seperates data in to classes and objects. Dennis Ritchie of the Bell Labs was invented C language(Procedural Programming Language).Bjarne Stroustrup of Bell Labs invented C++.C++ is considered as the super set of C language.Bjarne Stroustrup added special OOP features like classes, virtual functions, operator overloading, multiple inheritance etc...
No comments yet.