PRG/420 Java Programming I - Entire Course
This tutorial Includes the solutions of mentioned below questions
Week 1: Java™ and Object Oriented Programming Introduction
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 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.
o Instance (object)
Individual Assignment : 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.
Week 2: Java™ and Object-Oriented...
Please join StudyMode to read the full document