Class Transfer

java.lang.Object
edu.pdx.cs410J.net.Transfer
All Implemented Interfaces:
Runnable

public class Transfer extends Object implements Runnable
Transfers money between two BankAccounts. Has the potential to deadlock.
  • Constructor Details

  • Method Details

    • run

      public void run()
      Performs the transfer.
      Specified by:
      run in interface Runnable
    • main

      public static void main(String[] args)
      Creates and performs a Transfer