UOP PRG420 Week 4 Discussion Latest

Question # 00784873 Posted By: rey_writer Updated on: 11/25/2020 09:17 AM Due on: 11/25/2020
Subject Education Topic General Education Tutorials:
Question
Dot Image

PRG420 Java Programming I

Week 4 Discussion

Arrays vs. Databases

Arrays in Java™ are used to hold data as are databases, also.

Research and discuss the differences between these two approaches. In what situations would it be appropriate to use an array to hold data, and in what situations would it be appropriate to use a database instead? Are there any scenarios in which it might be appropriate to use both a database and an array to process data in the same Java™ app?

Savings Account

You are a bank manager and you are helping a new bank teller understand the kind of accounts the bank offers. If a customer comes in asking to open a new savings account, the teller needs to ask what kind of account--passbook savings or certificate of deposit--the customer would like to open. Remind the customer that all accounts with our bank are insured by the FDIC. You should explain that all accounts earn some interest; a savings account's interest is compounded monthly. You should assign a unique account number after accepting the customer's initial deposit. If the

customer chooses to receive statements electronically, the system will send an e-mail with a monthly statement; if the customer chooses not to, then a paper statement will be sent by mail quarterly.

If savings account is a class, give an example of each of the following as it relates to that savings account. Explain your reasoning behind your example.

• Superclass

• Subclass

Supporting Activity: “is-a”

Using an example from your work or daily life, describe an "is-a" relationship. Why is an "is-a" relationship important when designing an inheritance between classes? What are the differences between "is-a" and "has-a" relationship?

 

Dot Image
Tutorials for this Question
  1. Tutorial # 00784775 Posted By: rey_writer Posted on: 11/25/2020 09:17 AM
    Puchased By: 2
    Tutorial Preview
    The solution of UOP PRG420 Week 4 Discussion Latest...
    Attachments
    UOP_PRG420_Week_4_Discussion_Latest.ZIP (18.96 KB)

Great! We have found the solution of this question!

Whatsapp Lisa