The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 399 Weeks Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
a) Create a CertificateOfDeposit class. The class contains data fields that hold a
certificate number, account holderA????1s last name, balance, issue date, and maturity
date, using GregorianCalendar objects for each date. Provide get and set
methods for each field. Also provide a constructor that requires parameters
used to set the first four fields, and sets the maturity date to exactly one year
after the issue date. Save the class as CertificateOfDeposit.java.
b) Create an interactive application that prompts the user for data for two
CertificateOfDeposit objects. Prompt the user for certificate number, name,
balance, and issue date for each CertificateOfDeposit, and then instantiate
the objects. Display all the values, including the maturity dates. Save the
application as TestCertificateOfDeposit.java.
Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll