Question: please answer all parts 1. Define a Patient Class ( 30%) 1. Child Class of Person class that we did in class 2. Variables for
1. Define a Patient Class ( 30%) 1. Child Class of Person class that we did in class 2. Variables for Insurance Company, and Policy number 3. 2 Constructors (default and a parameterized) 4. Well Encapsulated 5. WriteOutput, equals, toString, compareTo(make sure it implements the appropriate interface for this) methods. 2. Create a Doctor Object ( 30%) 1. Child Class of Person class that we did in class 2. Has variables for Speciality and copay 3. 2 Constructors (default and a parameterized) 4. Well Encapsulated 5. WriteOutput, equals, toString, compareTo(make sure it implements the appropriate interface for this) methods. 3. Define a Billing Class ( 40%) 1. Has variable for a patient object 2. Has variable for Doctor object 3. Parameterized constructor only 4. Setters and getters 5. printBill method that will print the details for a bill addressed to the patient from the doctor
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
