Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Java programming language Problem A - [20 Marks] i. Implement the following classes: [6 marks] Student - id: int name: String - address: String -
Java programming language
Problem A - [20 Marks] i. Implement the following classes: [6 marks] Student - id: int name: String - address: String - cgpa: double + Student(id: int, name, address: String, cgpa: double) + getName(): String + getAddress():String + getId(): int + getCGPA(): double + mailOffer(): void + toString(): String Waiver fee: double + Waiver(id: int, name,address: String, cgpa, fee: double) + mailOffer(): void + computeWaiver(): double ii. Now, write a program to ask user how many students he/she wants to be listed, take ID, Name, Address, CGPA and Fee of students as user input and store all the information in a "Student type object array. [8 marks] In compute Waiver() method, less 25% from their fees if their CGPA is more than 3.5/4.0. Invoke mailOffer() method to print name and tuition fees as shown below. [6 marks]Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started