.

Friday, November 15, 2013

Object Oriented Programming In C++

Assignment for Object Oriented Programming (OP216) Question1: Discuss the pursuit characteristics in these areas: definition, purposes, weakness and strengths, and with an appropriate example. Has- A relationship: 1.          commentary: In the relation of gradation A and trend B, if instances of circle A contain instances of class B, this is called A has-a B, this relation normally be through a pointer, reference, or even animal(prenominal) containment to communicate, this likewise called aggregation. 2.         Purposes: it is re map of software in resist oriented programming. 3.          favour: it can compose new conduct using varied ends, it is able to add new capabilities to exiting objects, so it enables the software passing flexible to suit the change of requirements. 4.          wrong: because of the extra direct of indirection, this result to Run-time inefficiencies. And the aggregation object behavior is harder to understand and describe. When implementing good the object relationship also requires scrupulous attention to alternative management responsibilities. 5.         Example: A line car containing an Engine, a Car object has no extra privilege with its contained Engine object, An object of Car operates the Engine object only through its interface or member function. hereditary pattern: 1.         Definition: It implies generalization-specialization from base class to derived class. The base class is a general class whose behavior can be specialise in the derived class(es). 2.
Ordercustompaper.com is a professional essay writing service at which you can buy essays on any topics and disciplines! All custom essays are written by profes   sional writers!
     Â!  Â Â Purposes: it help use to solve some touchwood problems and make the solution more(prenominal) elegant than wholeness without it. It is one of the fundamental tools for code reusability. It is also used as name to interface and design reuse, which is immanent for building robust, extensible software. 3.          gain: It allows designer and programmer to snuff it and enhance software without either recompilation cost. It is somewhat hidden, new class can be added to the pecking order without affecting any client. 4.         Disadvantage: there are more levels... If you want to get a full essay, order it on our website: OrderCustomPaper.com

If you want to get a full essay, visit our page: write my paper

No comments:

Post a Comment