Sunday, May 5, 2019
Object Oriented Programming Research Paper Example | Topics and Well Written Essays - 1750 words
Object Oriented Programming - Research Paper specimenThe research paper Object Oriented Programming talks about main concepts and principles of the reject orientated programming paradigm and about its application to computer softw atomic number 18 or computer applications goal.In OOP, the equal objects have specific entropy fields such as rows and columns in the foundation of databases. These fields be used in OPP as characteristics of an object that is presented through a programming language with object lie attributes. In addition, objects within object orientated programming are represented via specified methods or procedures which are used to ensure that these objects are orderly and consistent depending on the purpose of the design or programming. When programmers design computer software or computer applications, they achieve this by methods which cause objects to relate or interact with one another. Each object in this form of interaction is referred to as an instan ce of a contingent branch of objects.Classes in OOP represent concepts. For example Girl is a rank within which the aforementioned objects fall. This illustrates that a class is used to capture the properties that are shared by objects in the process of object oriented programming. Therefore, classes are normally instantiated from the objects that are represented by a program design. In OOP, classes are evident within the source autograph of the program and this code is normally not duplicated. Also objects play the lineament of activating a program that is currently running as a result they occupy retentiveness locations. Furthermore, a set of operations as presented within the class are owned by objects which content that objects in OOP own a copy of specific data that is held within the program. When a specific class within a program is a subtype of another higher level or general class, the subtype class in OOP is said to be inherited from the general class (Hadar and Ur i 43). The subclass therefore inherits both member functions and the data members of the base class. In object oriented programming, inheritance particularly refers to the method of reusing a specific code that is held by non-homogeneous objects with an aim of establishing a lower level or subtype class below a general class. The creation of subtypes however depends on the supporting platform of the programming language that is used to design or program the application. The general classes in inheritance are referred to as base classes and it is from these classes that the subtype classes inherit various attributes. Base classes are also referred to as parent classes or super classes (Pefkaros 219). The subclasses that are derived from the parent classes are therefore referred to as child classes or derived classes. This illustrates that the patent and child classes are related within a structure which leads to a hierarchy. Encapsulation is a concept and principle in object oriente d programming in which the designer of a program hides the manner in which an object behaves from the approach of implementation. Encapsulation also includes separation of the looks of an object or it appearance from the methods through which its behavior is implemented. Encapsulation emanates from the fact that objects within a program have head defined interfaces (Ramsin and Richard 31). These are the publicly accessible methods and fields. Therefore when information about objects is hidden below or behind a specific interface, it is then said that the design of a program has implemented encapsulation. This piazza is also referred to as information hiding. It therefore is notable that in object oriented programming, programmers use interfaces as the most effective way through which behavior of objects are
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment