Notice: Trying to access array offset on value of type bool in /home/flixwrit/domains/raywriters.com/public_html/wp-content/themes/Divi/includes/builder/functions.php on line 2421
Expert answer:ICSI201 Introduction to computer science week 4 ho - Ray writers
  

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

Ray writers

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