Get the answers you need at Westonci.ca, where our expert community is always ready to help with accurate information. Discover in-depth solutions to your questions from a wide range of experts on our user-friendly Q&A platform. Get precise and detailed answers to your questions from a knowledgeable community of experts on our Q&A platform.
Sagot :
Answer:
// ************************************************************
// ManageAccounts.java
//
// Use Account class to create and manage Sally and Joe's
// bank accounts
// ************************************************************
public class ManageAccounts { public static void main(String[] args) { Account acct1, acct2; //create account1 for Sally with $1000 acct1 = new Account(1000, "Sally", 1111); //create account2 for Joe with $500 //deposit $100 to Joe's account //print Joe's new balance (use getBalance()) //withdraw $50 from Sally's account //print Sally's new balance (use getBalance()) //charge fees to both accounts //change the name on Joe's account to Joseph //print summary for both accounts } }
Hope this helps:)
We hope our answers were useful. Return anytime for more information and answers to any other questions you have. Thank you for your visit. We're dedicated to helping you find the information you need, whenever you need it. Westonci.ca is here to provide the answers you seek. Return often for more expert solutions.