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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!