Giter Club home page Giter Club logo

dotnetmotors's Introduction

Numbers Game

Lab05 and LAB06-DotNetMotors

Author: Chris Morton

Description

This project was to demonstrate understanding of the OOP principles. We were to design a vehicle dealership heirarchy.

The OOP Principles are

Abstraction:

Where you have a parent class and you abstract child classes to be able to give them different properties or methods that may not be related to the others that are encompased in the parent class. In this project we abstracted multiple classes from the parent class of vehicle.

Polymorphism:

Where different classes use the same method in different ways. We made trains honk a different message than cars.

Inheritance:

Receiving existing properties or methods from existing classes. From the parent class of Vehicles all of our concrete classes received the method TurnOn()

Encapsulation:

When a group of methods and properties are treated as a single thing. We achieved encapsulation by creating many individual classes to describe different things. All of the methods and properties within that class are treated as one package.

Interfaces:

An interface is something that allows us to group together items that are not in the same heirarchical branch. In our example we used the AdvancedTraining and the NotClaustrophobic Interfaces with Air and Tracks and Air and Under classes respectively. The AdvancedTraining interfaces is to be used on classes that require advanced training and the NotClaustrophobic is used on classes where the operator should not be claustrophobic.

Getting Started

Clone this repository to your local machine.

$ git clone https://github.com/cmorto02/DotNetMotors.git To run the program from Visual Studio: Select File -> Open -> Project/Solution

Next navigate to the location you cloned the Repository.

Double click on the DotNetMotors directory.

Then select and open DotNetMotors.sln

Visuals

Abstraction Heirarchy alt text

Change Log

For more information on Markdown: https://www.markdownguide.org/cheat-sheet

dotnetmotors's People

Contributors

cmorto02 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.