[go: up one dir, main page]

0% found this document useful (0 votes)
132 views2 pages

PRG/420 Week 1

PRG/420 Week 1

Uploaded by

mashhadiqbal
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
132 views2 pages

PRG/420 Week 1

PRG/420 Week 1

Uploaded by

mashhadiqbal
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

PRG/420 Java Programming I Week 1

This tutorial Includes the solutions of mentioned below questions

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

Superclass Subclass Attribute Method Instance (object) Encapsulation

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.

This tutorial Package includes,


Discussion Question # 1 ( Original, 201 words count Answer ) Discussion Question # 2 ( Original, 219 words count Answer ) Individual Assignment ( Hello World Program )

CLICK HERE TO GET THE SOLUTION !!!!!!!!

You might also like