Find Jobs
Hire Freelancers

Hourly Simple Java Lab

$8-15 USD / hour

Cancelled
Posted about 9 years ago

$8-15 USD / hour

Imagine you work for a bank and you were asked to create a program that keeps track of the customers' money balance, account numbers and customers' name. Your program should also have these functionalities: Get the current balance Accept a deposit Process withdrawals Please note that there is also a 1% transaction fee (of the withdrawal amount) for every withdrawal made from the account. Create a class named BankAccount with the following contents: Account number Name of account holder Current balance Inside this class, you are asked to create the following methods: Constructor methods getBalance( ): is a getter method that returns the account balance setName(newName): is a setter method to update the account name (in case of name changes) processDeposit(money): is a method that accepts a deposit and updates the account balance processWithdraw(money): is a method that processes a withdrawal and updates the account balance after the 1% transaction fee has been applied as well. You can test your methods using the attached BankAccountTester Java file. Make sure the method names are as specified. What to submit: [login to view URL]
Project ID: 7498107

About the project

2 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
2 freelancers are bidding on average $12 USD/hour for this job
User Avatar
A proposal has not yet been provided
$11 USD in 0 day
5.0 (5 reviews)
2.5
2.5
User Avatar
A proposal has not yet been provided
$12 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
United States
5.0
21
Member since Dec 13, 2014

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.