Object-Orientated Analysis and Design - Stock Control Program
$10-15 USD
Concluído
Publicado há aproximadamente 21 anos
$10-15 USD
Pago na entrega
In the Original implementation of the Stock control example classes were created to model assemblies, parts and catalogue entries. In this design, a particular kind of part was represented by a generic Part object with a link to the CatalogueEntry object that described that part. An Alternative design might propose doing away with a Part class and CatalogueEntry class, instead, different types of part might be represented by different classes, so that, for example there is a screw class and bolt class etc. Question: Part1 Implement your new Assembly class as well as classes for the following parts Screw, Bolt and Struct. Implement the cost() method for these classes. Write a program that builds an assembly from parts and other assemblies, and which then outputs the total cost of the built assembly. Part 2 Describe in no more than 100 words the principle techniques used to impement reltionships Supplied in zip files is the code of the original implementation.(however it does not work for some reason) Onceyour bid is accepted I will supply what I have been able to manage myself. The program should use an Object-Orientated approach to solving the problem. Techniques used should include inheritance,polymorphism and probably message passing. The component class is used as the general class for the polymorphism. Use the code supplied of both the original implementation and what I have managed were it is possible
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Part B
## Platform
Unix and windows