Created
October 24, 2017 18:36
-
-
Save thobson/090f8ec0ac4a1017ed3d6064bbb46da6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vehicles._ // import car and bus implementations | |
val ford = Car("ford") | |
Dealership.driveAndReturn(ford) // vehicleLikeCar is already in scope due to the import |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment