Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Bank account application (JAVA OOP, INtellIJ) Please, follow the instructions, I need an OOP version with comments and explanations. Requirement Please write a Java application

Bank account application (JAVA OOP, INtellIJ) Please, follow the instructions, I need an OOP version with comments and explanations.

Requirement

Please write a Java application for managing a bank account as follow:

  • A bank account must have following fields:
  • Account type: saving or checking
  • Account number: 6 character long (alphanumeric)
  • Account's creation date (String)
  • Customer's first name
  • Customer's last name
  • Customer's date of birth (String)
  • Customer's last 4 digit of social security number
  • Customer's address (address1, address2, city, state, zipcode)

    Field validations

  • Account type must be either "saving" or "checking".
  • Account number must be 6 character long (alphanumeric).
  • Creation date must be a non-empty string.
  • Customer's first name, last name, and date of birth must be a non-empty string.
  • Customer's last 4 digit of SSN must be exactly 4 digits.
  • Address1, City, State and Zipcode must be non-empty string.
  • NOTE: If any of the above validations failed, the user should be prompted by an appropriate error message and another chance to enter a proper data.

    Final Step

    The application should ask end user to enter all the information above and then it must display all information except last 4 digit since it is a sensitive information.

    Then the user should enter last 4 digit to verify it. This verification can happen up to 3 times, then the user will be prompted by failure or successful message accordingly.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Server Query Performance Tuning

Authors: Sajal Dam, Grant Fritchey

4th Edition

1430267429, 9781430267423

More Books

Students also viewed these Databases questions