Question: Java Language Question 18 Use the given class diagram and description to write the JAVA code Student -id: int -name: String -mark int +Student(idl: int,


Question 18 Use the given class diagram and description to write the JAVA code Student -id: int -name: String -mark int +Student(idl: int, namel: String, markl: int) +getID(: int +getName(): Stirng +getMark(): int +result(): String 1. Write the constructor as per class diagram 2. Write the getters as per the class diagram 103 Marks 3. For the method result you have to return the letter grade depend on the martes obtain by the student (95 - 100 = A+, 90 - 94 M A, 85 -9 B, 80-34,75 - 79 C, 70-74C, 65-69 D-, 60-64,0-59MF) 103 Marks For the toolbar.press ALT-110 Pr ALTO B TVS grah Anal 14 LX 11 A
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
