Skip to content

sancruz-dev/dotnet-mobile-data-abstraction

Repository files navigation

Challenge: Abstract smartphone data

.NET

Context

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.

Proposal

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:

Diagram Classes

rules and validations

  1. Class Smartphone must be abstract, not allowing instantiating and serving only as a model.
  2. Class Nokia and iPhone must be smartphone daughters.
  3. The installation method should be overwhelmed in the Nokia and iPhone class, as both have different ways to install an application.

About

Handling data with abstract classes and poo

Topics

Resources

Stars

Watchers

Forks

Languages