Question: Write a Java program based on UML diagram below: The implementation of calculateGrade() and calculateFees() method for master Stud and degreeStud object as below: A.

 Write a Java program based on UML diagram below: The implementation
of calculateGrade() and calculateFees() method for master Stud and degreeStud object as
below: A. masterStud Class i) calculateGrade() if (totalMarkoOfTest >=85 ) grade="Pass" else

Write a Java program based on UML diagram below: The implementation of calculateGrade() and calculateFees() method for master Stud and degreeStud object as below: A. masterStud Class i) calculateGrade() if (totalMarkoOfTest >=85 ) grade="Pass" else grade="Fail" where totalMark+=test[i]; //i is based on noOfTest ii) calculate Fees() The fee is charged based on the type of Student. For master student, RM200 per credit hour is charged. i) calculateGrade() if (totalMarkoOfTest >=80 ) grade="A" else if (totalMarkoOfTest >=60 ) grade="B" else grade="F" where , totalMark+=test[i]; // i is based on noOfTest ii) calculateFees() The fee is charged based on the type of Student. For degree student, RM100 per credit hour is charged. *the score of each test is stored in test array (setMark method). test[noTest]=score; "displaylnfo() - display the name, grade and fees of student. The output is based on your creativity. Such as you can create array for the Degree student and Master Student

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!