To be able to pass an object of BankAccount or Coin as explicit parameter for method add, these
classes have to implement the Measurable interface. Therefore, any class that implements
Measurable interface can use DataSet class for analyzing objects. To implement an interface, you
need to do two things: (1) declares the interface in an implements clause (2) implement the method
or methods that the interface requires.