Question: 1. Create Class Student with 4 instance variables - Student ID - Student Name - Student Fees - Student GPA 2. Create setter and getter
1. Create Class Student with 4 instance variables - Student ID - Student Name - Student Fees - Student GPA 2. Create setter and getter for each instance variable 3. Create discount method (will give 20% discount for student with GPA higher than 3.5) 4. Create a display method to print all info 5. 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
