Question: Lab 7 Inheritance Directions for completing and submitting the lab assignment: 1 . To complete the assignment, design an UML class diagram, and then use
Lab Inheritance
Directions for completing and submitting the lab assignment:
To complete the assignment, design an UML class diagram, and then use jGRASP or
another IDE tool, to write and compile source code for the program. Both types of files
should include your name, course number, section number and assignment number
in the upperleft corner.
In java source code, you also need to:
a Indent your code.
b Follow naming rules and conventions to name class, method, variable, and
constant.
c Use proper whitespace.
d Write Javadoc comments for classes and methods in the service class, and other
comments for other statements as needed.
Submission:
Place all files including the class diagram, and java files could be separated or ONE
file for one program into a folder, named FirstInitialLastNameLab# and compress
the folder as a zip file. Then submit the zip file in the drop box.
Lab Assignment points:
Do Programming Challenges and on Pages in the textbook, and demonstrate all
of them in one application.
Copy the four existing classes, GradedActivitity, FinalExam,
PassFailActivitity, and PassFailExam in Module Code Examples. Suppose
they were created by others, and you are unable to see source code, DO NOT modify
code in these classes. You just use them in your program for this lab.
UML class diagram:
a Your class diagram should include all of service classes the existing classes and
classes created by you and interface. The application class in the diagram is
optional
b For the existing classes, here is an option: you dont have to list data members and
methods; just list the class name in a rectangle box and show relationships to other
classesinterface Eg
GradedActivity
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
