PRG/420 Week 1
PRG/420 Week 1
Discussion Question : Portable languages and Component Reusability Java is a portable language, and being an object-oriented programming language, it also encourages component reusability. How does Java achieve these two important features? How are these features desirable in modern software engineering?
Discussion Question : Saving Account as a Class 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 accountpassbook savings or certificate of depositthe 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 accounts interest is compounded monthly. You should assign a unique account number after accepting the customers 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.
o o o o o o
Individual Assignment : Create a Program Create a program in Java that displays Hello world! Take a screen shot that shows the programs successful compilation and execution. Then submit your program along with the screen shot.