create using a Java programming  A city bank offers two different types of bank account, a saving account and a checking account. To distinguish between the two types of accounts, the saving accounts are numbered from 000001 and the checking accounts are numbered from 500000. Every time a new account is opened, the system should generate a new unique account number.   Saving accounts charge no fee, provided the account contains a balance of more than $100; otherwise, the account has an annual fee of $25.00. Saving account pay interest at rate of 5% per annum. Checking accounts pay no interest until the balance exceeds $2,500. The interest is then 2.5% per annum. Checking account charge a fee of $1 for every transaction.   Devise appropriate classes for the different types of account. Include methods that you think appropriate for access and manipulation of data in an account.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter3: Using Methods, Classes, And Objects
Section: Chapter Questions
Problem 2GZ
icon
Related questions
Question

create using a Java programming 

  1. A city bank offers two different types of bank account, a saving account and a checking account. To distinguish between the two types of accounts, the saving accounts are numbered from 000001 and the checking accounts are numbered from 500000. Every time a new account is opened, the system should generate a new unique account number.

 

Saving accounts charge no fee, provided the account contains a balance of more than $100; otherwise, the account has an annual fee of $25.00. Saving account pay interest at rate of 5% per annum.

Checking accounts pay no interest until the balance exceeds $2,500. The interest is then 2.5% per annum. Checking account charge a fee of $1 for every transaction.

 

Devise appropriate classes for the different types of account. Include methods that you think appropriate for access and manipulation of data in an account.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 6 steps with 1 images

Blurred answer
Knowledge Booster
Returning value from Function
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,