Exercise: Abstraction

Exercise: Abstraction: Exercise: Abstraction.

Updated

  1. Exercise: Abstraction (Journeyman): Finish a city bike share. Make Vehicle an abstract class that every kind of vehicle prices for itself, give the electric ones the IChargeable contract, and write a RideService that gets its time from an IClock.