.

Monday, December 30, 2013

Object Oriented Programming In C++

Assignment for Object Oriented Programming (OP216) Question1: Discuss the avocation 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 set A contain instances of class B, this is called A has-a B, this relation ordinarily be through a pointer, reference, or even material containment to communicate, this likewise called aggregation. 2.         Purposes: it is re map of software in pooh-pooh oriented programming. 3.          favour: it can compose new way of life using varied rejects, it is able to add new capabilities to exiting objects, so it enables the software passing flexible to suit the change of requirements. 4.          footing: because of the extra direct of indirection, this result to Run-time inefficiencies. And the aggregation object carriag e is harder to understand and describe. When implementing good the object relationship also requires sure attention to alternative management responsibilities. 5.         Example: A rail line car containing an Engine, a Car object has no additional privilege with its contained Engine object, An object of Car operates the Engine object only through its interface or member function. inheritance: 1.         Definition: It implies generalization-specialization from base class to derived class. The base class is a general class whose behavior can be specialize 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 prof   essional writers!
    Â!  Â Â Â Purposes: it help use to solve some cowl problems and make the solution much elegant than ane without it. It is one of the fundamental tools for code reusability. It is also used as key to interface and design reuse, which is immanent for building robust, extensible software. 3.          payoff: It allows designer and programmer to snuff it and enhance software without every 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