Help me!!


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 6 of 6

Thread: Help me!!

  1. #1
    Join Date
    Apr 2006
    Posts
    1

    Exclamation Help me!!

    Can someone show me how to create function to create, open, and close a bank saving account?

  2. #2
    Join Date
    Mar 2006
    Posts
    37
    What kinda of design are you looking for. I created a simple so called Atm console program just to learn how variables worked. This may help you get started, think about what your objects are and what they can do. This will be your first step in finding what your classes will be and what instance variables you need and the methods to operate on them.

  3. #3
    Join Date
    Mar 2005
    Location
    UK, London
    Posts
    150
    Java does not use functions

  4. #4
    Join Date
    Mar 2006
    Posts
    37
    That is true. They are called methods.

  5. #5
    Join Date
    Oct 2005
    Posts
    107
    Quote Originally Posted by Fienamie
    Can someone show me how to create function to create, open, and close a bank saving account?
    Why do you need a function? I would just go to your favorite bank and talk to someone there about setting up your account.

    But really your gonna have to be more specific

  6. #6
    Join Date
    Sep 2004
    Posts
    59
    http://arkserver.servehttp.com/tmp/Mybank.rar
    No idea if this is what you want but is has all the things you want

    includes:
    - login
    - deposit
    - withdraw
    - transfer money
    - overview
    - save & close

    it uses a hashmap, the data that is stored are located in the bank4321.dat file

    if you want to add new users:

    Bank b = oc.openBank();
    b.addAccount(100, "test account", "something", "City");


    the bank is not complete but it gives you a general idea how it can be done.
    My own java video tutorials, feel free to watch it.
    http://www.engineeringserver.com/for...amming-b311.0/ Need java help? For beginning and intermediate java coders!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center