Skip to content

philenius/scalaBasics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scalaBasics

This is a project for learning some basics of the object oriented parts of Scala. Maven is used for dependencies and build. There are unit tests (Scalatest) which you can use to implement this project -> Test Driven Development.

  1. The following object oriented structure is given. The abstract class Vehicle represents everything that can drive. Vehicles have a weight and a maximum speed. They can drive and make a sound. Car is a concrete implementation of Vehicle. The CarPark has a defined capacity, allows cars to drive in and out and contains therefore an aggregation onto Vehicle. UML Class Diagram
  2. Execute the tests in /src/test/scala/de.scala.basics/
  3. Make the tests green by implementing the missing code.
  4. Congratulations! 👍

If you need a hint or just want to view the solution, you can take a look into the history of this repository (checkout commit 04dfe0ff).

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages