Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a program that will be used to solve the problem of gathering information

ID: 3770989 • Letter: W

Question

Write a program that will be used to solve the problem of gathering information about a person’s financial investments. Investments a person may have include stocks, mutual funds, and real estate. This program will be limited to gathering information about a person’s share assets: stock and mutual fund investments. The information about a share assets which would need to be known is: the symbol, number of shares owned, price paid per share, and the current price. There are stocks that pay dividends and those that do not. Stocks that pay a dividend would need the amount of dividends paid. The difference between a mutual fund and a stock is that a person can own parts of a share of a mutual fund, while entire shares of stock must be owned. (Hint: An OO concept applies here.) The user should be able to find out the current market value of an asset as well as the profit or loss of the asset. Design a program that keeps track of a person’s share assets. The program must meet the following requirements: 1. The project must use user defined classes and inheritance. 2. A GUI interface must be used for user I/O. 3. A person may own shares of multiple stocks as well as participate in multiple mutual funds. 4. A given stock asset object should only have information about one asset – stock, dividend stock, or mutual fund. 5. Exception handling must be used where appropriate. 6. The stock and mutual fund information (portfolio) must be stored in a text file. 7. The user should have the option to display the portfolio information contained in the text file.

This is in java.

Explanation / Answer

SAMPLE PROGRM :

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote