Expert answer:ICSI201 Introduction to computer science week 4 ho

  

Solved by verified expert:Please follow all the instruction and requirement in the text. I will upload all the class when you choose me.
hw.txt

Unformatted Attachment Preview

Don't use plagiarized sources. Get Your Custom Essay on
Expert answer:ICSI201 Introduction to computer science week 4 ho
Just from $10/Page
Order Essay

Hw 4: inheritance and polymorphism, GUI using AWT and Swing
All four problems are directly from the textbook! Hopefully you all can make them
run! Good luck!
Learning Objectives:
==============================
Multipe source files project
Inheritance
Polymorphism
Interface
Absract class
GUI
awt
swing
event handling
==============================
Requirements:
!!!
Type (do not copy-paste), compile, debug, test, run the following four applications
(on the textbook, so you can get most out of the text).
Please make sure you also read the context so you can understand how to use OOD/OOP
to address those representative application problems.
What to submit?
1. 50% Source code (Since the course code directly from the text)
2. 20% Test results to convince TA and the instructor that you have tested the apps
fully and successfully.
3. 30% Reflections on the Java constructs these programs have utilized.
!!!
Problem 1 (30 points) Aggregatio occurs when a has-a relationship needs to be
expressed.
Create a project to contain the following classes from chapter 8 on the textbook
coding listings: 8-12 (Instructor.java),
8-13 (TextBook.java), 8-14 (Course, Java), 8-15 (courseDemo.java).
Show the program output.
Hint: You need to save each of the above classes in its own .java file. The project
package consists of multiple java files.
Alternatively, if you attempt to type all the classes into one file, only the one
containing the main function can be public,
all others should not be public (remove public).
Problem 2 (40 points) Inheritance and Polymorphism
Create a project to contain the following classes from the textbook coding
listings: 10-1 (GradedActivity.java), 10-3(FinalExam.java),
10-13 (CurvedActivity.java), 10-21(PassFailActivity.java) 10-22 (PassFailExam.java)
and 10-25 (Polymorphic.java).
Show the program output.
Hint: You need to save each of the above classes in its own .java file. The project
package consists of multiple java files.
Alternatively, if you attempt to type all the classes into one file, only the one
containing the main function can be public,
all others should not be public (remove public).
Problem 3 (30 points) Abstract class and Abstract methods
Create a project ton contain the following classes from the textbook code listings:
10-26 (Student.java), 10-27 (CompSciStudent.java) and 10-28
(CompSciStudentDemo.java). Show the program output.
Hint: You need to save each of the above classes in its own .java file. The package
consists of multiple java files.
!!!!———————————–!!!!
The above listings are based on 3rd Edition. If you have 4th Edition, please use
the file names in the () to map out the files to
the corresponding code listings. Please contact your instructor or TA if you have
any issues with them. Or borrow the text from TA or instructor if you have no text.
Check out the library to see whether or not there are copies of text there as well.
If you will encounter any issues with the above code on the text book, please
contact your instructor or TA.

Purchase answer to see full
attachment

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more

Order your essay today and save 30% with the discount code ESSAYSHELP