Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

image text in transcribed
image text in transcribed
image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Understanding Databases Concepts And Practice

Authors: Suzanne W Dietrich

1st Edition

1119827949, 9781119827948

Students also viewed these Databases questions

Question

How are arbitrators credentialed?

Answered: 1 week ago

Question

Question Can life insurance be used in a Keogh (HR 10) plan?

Answered: 1 week ago