Write a java program to:
Create a superclass called “GradedActivity”. This class holds a grade for a graded activity. This program also creates a sub-class called “PassFailActivity” that is child of the “GradedActivity” class.
This class holds a numeric score and determines whether the score is passing or failing. Another superclass will be created as a child of “PassFailActivity”. This class is called “PassFailExam”. This class determines a passing or failing grade for an exam.
Coding :( Copy and Paste Source Code in word document. Format your code using Courier 10pts). Take the screenshots of your final results and paste them in your word file.
#Sales Offer!| Get upto 25% Off: