Class CurrencyAmountClient

java.lang.Object
it.unimi.di.prog2.h12.CurrencyAmountClient

public class CurrencyAmountClient extends Object
Client class for testing the CurrencyAmount class.
  • Constructor Details

    • CurrencyAmountClient

      private CurrencyAmountClient()
      .
  • Method Details

    • main

      public static void main(String[] args)
      Main method for testing.

      Reads a sequence of amounts from the standard input, computes their sum, and emits it to the standard output.

      Parameters:
      args - command line arguments (not used).