Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is for JAVA.CLass. Create a UML diagram for the following items. These items are part of a program that calculates a persons bank account.

This is for JAVA.CLass. Create a UML diagram for the following items. These items are part of a program that calculates a persons bank account. You must also define the access type using the + or - signs to show what is public and private. I have them listed below based upon their types. Pages 339 to 348 give you a visual representation of how the UML should look. The values on the page are different but the correct format of the diagram is presented. You will complete this in a Word document and upload the file here for grading. Variables balance, which is a double and public amount, which is a double and private startBalance, which is a double and private Methods void deposit ();, which is public and is a double void withdraw ();, which is public and is a double void setBalance ();, which is public and is a double double getBalance(); which is public and is a double Constructor BankAccount, which is public and is a double

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

More Books

Students also viewed these Databases questions