What is object oriented programming language♤

Object oriented programming  is method of programming  where is system is considered as a collection of object  that interact together to accomplish certain tasks.Objects are entities that encapsulate data and procedures that operate on the data.
In OOPS first a concept known as "Object oriented analysis(OOA)" is used to specify the objects in term of real world requirements, their behaviour and interactions required. The next concept would be the "Object oriented design(OOD)" that converts these real-time requirements as a hierarchy of objects in terms of software development requirement. Finally OOPS is used to implement the requirements using the C++ programming language.The main purpose of object oriented programming is to simplify the design, programming and most importantly debugging a program.  Object oriented programming, a programmer have to focus on object rather than logic. Here  Objects are Real world object such as your pen book animal around you the real world objects have  two characteristics: one is States means its name, colour, look and another one is its behaviour. Everything that software object knows and can do is expressed by the variable and method within in that object. The programmer use the idea of object to represent data and methods. Computer programs make use of objects that talk to one another and to change the data in those object and the programmer  can  work in a way that they want.  You can reused the code in other parts of the program or even by other people easily this reuse of code enables faster development it provides a modular structure for program . It is easier to maintain. You need not to change at large scale to update in case  issue. you can take new and existing software objects and "stich" them together because of many useful function. We can make new object with small difference to existing ones it will provide you with objects, methods, instance , message passing, inheritance. It also count encapsulation polymorphism abstraction. It helps to implement real life scenario.So to modify a particular data, it is easy to identify which function to use. To add additional features it is easy to identify where to add functions and its related data.  The basic elements of Object oriented programming(OOPS) are
  • Object
  • Classes
  • Inheritance
  • Dynamic Binding
  • Polymorphism
  • Message passing
  • Encapsulation
  C++ , Java ,C# ,Python are good example of object oriented programming language. There are also some problem in oop(object oriented programing). The size of object oriented program is mast larger than other programs. In the early days of programming, space on hard drive, floppy drive and in memory was at a premium. But today, we do not have this restrictions. The speed of object oriented program are slower than other programs, partially because of their size. It also demand more system resource which cause slowing problem down. before writing a single Piece code, you will have to deal with planning which requires a lot of effort. So, you'll have to do a lot of work to make a  object oriented program

Post a Comment

Previous Post Next Post