Menu

#823 Typo in exercise 70.3 Accounts

closed
nobody
None
2016-03-17
2016-02-07
Anonymous
No
public static void transfer(Account **form**, Account to, double amount) {
    **form**.withdrawal(amount);
    to.deposit(amount);
}

The first variable in the method is 'form' but I believe it should read 'from'.

Discussion

  • ljleppan

    ljleppan - 2016-03-17
    • status: open --> closed
     
  • ljleppan

    ljleppan - 2016-03-17

    Hi,

    Thanks for your report. I've created a note about this issue in our internal tracker. The issue will be resolved in a future version of the material.

     
MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.