Im writing a class called PolygonPanel. The class stores the users mouse clicks and redraws a polyline everytime the user clicks the mouse, then when the user presses the c key the polyline becomes a...
Type: Posts; User: jmack
Im writing a class called PolygonPanel. The class stores the users mouse clicks and redraws a polyline everytime the user clicks the mouse, then when the user presses the c key the polyline becomes a...
I am working on a class called Bank that holds all the accounts in an arraylist, but first reads the accounts from a file and then creates each account. I am wondering what would be the best way to...
here is the Account Class
import java.text.NumberFormat;
public class Account
{
private final double RATE = 0.03; // interest rate of 3.0%
I have created an arraylist in a class called bank below is a method i created in the bank class which is used to apply interest to all accounts in the array list by calling the method in the account...
Yes it does seem to be the problem as all three programs have no trouble compiling, below is the error I get when I try to run the program
Exception in thread "main"...
What I am trying to do is create a bank class (which uses an array to store the accounts) that has a create method which is used to create a new account in the bank. The method requires the user to...