1. PRG 420 Week 1 Assignments
Click this link to get the tutorial:
http://homeworkfox.com/tutorials/general-
questions/2655/prg-420-week-1/
Individual Create a Program
Create a program in Java™ that displays “Hello world!” Take a screen shot that shows the
program’s successful compilation and execution. Then submit your program along with the
screen shot.
Note. No points will be awarded for submitting the program alone.
Supporting Activity 2 Saving Account as a Class
Write a 200- to 300-word short-answer response to the following:
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
Attribute
Method
Instance (object)
Encapsulation
2. Supporting Activity 1 Portable languages and Component Reusability
Write a 200- to 300-word short-answer response to the following:
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?