Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Java Programmers - Assistance needed.

  • 12-12-2005 4:27pm
    #1
    Moderators, Education Moderators, Technology & Internet Moderators, Regional South East Moderators Posts: 24,056 Mod ✭✭✭✭


    Hey,

    Im studying a degree course in computing - 1st year - and we have a programming assignment in Java to be completed. Im having some problems linking one of my classes with another class, and no matter what I do it fails me.

    Our assignment is to make a "Bank" System. Its fairly tough but I have a lot done so far.

    There are 3 classes: Bank (does most of the work by calling other classes etc), Customer and Account.

    Im trying to link the Bank Class with the Account class for adding money to an account. I can add customers, and add accounts to specific customers, and add money but not to a sepcific customer. So basicaly, im trying to get the bank to look at the Account class for the code to add cash to a specific customers account (ill give it the ID). I used linear search for adding specific accounts to customers.

    Can someone explain the way to go about this? Im not great with programing so far, so bare with me if you can :) This is Object Oreintated Java using BlueJ.

    Hope someone can give us a hand with this, as its really pi**ing me of!

    Thanks :)


Comments

  • Registered Users, Registered Users 2 Posts: 13,832 ✭✭✭✭JPA


    Shouldn't you try the Programming Forum?


  • Moderators, Education Moderators, Technology & Internet Moderators, Regional South East Moderators Posts: 24,056 Mod ✭✭✭✭Sully


    Good point. :) Done. Thanks!


This discussion has been closed.
Advertisement