No more questions then?
Type: Posts; User: Norm
No more questions then?
Can you define what a withdrawal does?
Then describe the steps your method should take to do that.
What is the problem with the one you posted in post#42?
Ok, is it working now?
How does the command line do anything? The 'command line' is a mode of doing I/O with a program. The user types his input into a command line prompt and the program writes its output to the same...
Can you show the output and the code that generates it?
What you posted doesn't "display" anything. It copies some objects into an array list.
You need to create a new account object that holds the customer info and add that to the arraylist.
Did you see the steps I listed in my last post?
Can you show what to do each step?
Create an...
What parts are you having problems with? Here's a list of what you asked:
Create an array list
read info from the command line
create new accounts with info from command line
add new accounts to...
Can you explain where your problem is?
What is the information?
what is the interface?
The are many code examples online. Use a Search to find some.
Basically you create an ArrayList object and use its add() method to add objects to it.
Is this problem solved?
If so, please mark this thread as solved.
Can you post the full error text and the code that is causing it?
before you said the error was a mismatch, now you say its a null pointer exception.
One is at compile time the other at execution...
Why not have that method create and return what it is supposed to:
public BankAccountOutputVO createNewCurrentAccount(String name,
double amount, double overdraftLimit)
{
...
Please post full text.
Please copy full text of error message and paste it here. Here is a sample:
TestSorts.java:138: cannot find symbol
symbol : variable var
location: class TestSorts
...
What is the error? Please post full text.
Can you show the code where you are having this problem?
Does you new code work ok?