Answered step by step
Verified Expert Solution
Link Copied!

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 -

image text in transcribedJava 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning ASP.NET 2.0 And Databases

Authors: John Kauffman, Bradley Millington

1st Edition

0471781347, 978-0471781349

More Books

Students also viewed these Databases questions