thanks for your replies
and i am sort off new to programming done a bit with C and C sharp

my code is supposed to be an implementation of a Bank machine that has a teller class (that does everything the ATM does but can also create accounts) and an ATM class that deposits, withdraws and displays balance
ok my main error is at
Teller a = new Teller;
//nAcc = a.New_acct();
break;

my teller is supposed to be able to create new accounts, and i was trying to instantiate a new object with the teller class and make a new account each time(max of about 100 accounts)

easy...

I would suggest that you write it down on paper and then implement it in the program. Go one step at a time. Once you get one part working, implement the next step. If you try to do it all in one big step/effort, yes you will become overwhelmed and it will become confusing and seem impossible to do.

I would also suggest reviewing the concept of inheritance and extending classes (which you're trying to do in this particular case):

various tips.

Originally Posted by k3boi

thanks for your replies
and i am sort off new to programming done a bit with C and C sharp
.....
im just too confused to even know what i want to do

Per ftr and CJSLMAN - plus no void anything anywhere and everything is signed, except for char for which unsigned makes no sense here. Everything goes in a class, which has some similar behaviour with struct in C

Suggest start by reading docs ( which is comments with minimal html parsing ) for class BigDecimal.... it took me under a month to transition from C/C++ to Java, very powerful libs freely available - skip gc as there is no way to do the pointer casts even semi-portably and makes for beginner blunders, no end. Pointers ( of which there are none in Java ) are called references but the use thereof gets buried during beginner sample code. Strings are said to be immutable, but one can use assignment op to point the string somewhere else.

For pw, use only hash and char[] + do char[++index] = ' ';// page-outs not controllable

This better be student work. + "Java Tips" in the nav bar at left has an abundance of cannonical Java work.