Last active
January 6, 2020 16:59
-
-
Save janakmshah/c2070ee25fe9d63fd8776e3f6258a579 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
protocol Refuelable { | |
func refuel() | |
} | |
protocol Drivable { | |
func drive() | |
} | |
protocol Rideable { | |
func ride() | |
} | |
protocol Cleaner { | |
func clean() | |
} | |
protocol Maintainer { | |
func maintain() | |
} | |
protocol VehicleFinder { | |
func findVehicle() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment