Define two classes, Patient and Billing, whose objects are records for a Clinic. Derive Patient from the

Question:

Define two classes, Patient and Billing, whose objects are records for a Clinic. Derive Patient from the class Person given in Listing 8.1. A Patient record has the patient's name (defined in the class Person) and identification number (use the type String). A Billing object will contain a Patient object and a Doctor object (from Programming Project 4). Give your classes a reasonable complement of constructors and access or methods, and an equal's method as well. First write a driver program to test all your methods, and then write a test program that creates at least two patients, at least two doctors, and at least two Billing records and then displays the total income from the Billing records
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: