Question: Java Question 1 . Create Class Student with 4 instance variables - Student ID - Student Name - Student Fees - Student GPA Java .

Java
Question 1 . Create Class Student with 4 instance variables - Student ID - Student Name - Student Fees - Student GPA Java . Create setter and getter for each instance variable . Create discount method (will give 20% discount for student with GPA higher than 3.5) . Create a display method to print all info . Create a driver class with one object, read values from the user and call the required methods
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
