You are responsible for shaping a system that works with cell phones. For this, you have been asked to abstract from a mobile phone and make available ways of different brands and models to have your own behavior, enabling greater code reuse and using object orientation.
You need to create a console -type .NET system, mapping an abstract class and specific classes for two types of cell phones: nokia and iPhone. You must create your classes according to the diagram below:
- Class Smartphone must be abstract, not allowing instantiating and serving only as a model.
- Class Nokia and iPhone must be smartphone daughters.
- The installation method should be overwhelmed in the Nokia and iPhone class, as both have different ways to install an application.