Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 public class Student { int stdID; 3 String name: double fees; 000 UN public Student(int stdin, String name, double fees){ this.stdID=stdID; this.name=name; 9 this.feesfees;

image text in transcribedimage text in transcribed

1 public class Student { int stdID; 3 String name: double fees; 000 UN public Student(int stdin, String name, double fees){ this.stdID=stdID; this.name=name; 9 this.feesfees; 10 } 11 12e public Student({ 13 this(202010021, "Husain", 1000); 14 } 15 160 public double discount(double fees) 17 if(fees > 1000) 18 return fees*0.1; 19 else 20 return 0; 21] 22e public double discount(int stdID) { 23 if(stdID

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

The Database Factory Active Database For Enterprise Computing

Authors: Schur, Stephen

1st Edition

0471558443, 9780471558446

More Books

Students also viewed these Databases questions

Question

Using Language That Works

Answered: 1 week ago

Question

4. Are my sources relevant?

Answered: 1 week ago