Question: Java Write an interface that specifies the following two methods: a method named setGrade that is public but does not return anything a method named
Java
Write an interface that specifies the following two methods: a method named setGrade that is public but does not return anything a method named getGrade that is public and returns a string value (Only writing the interface code segment would be enough) -- do not write the bodies just the method headers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
