I am creating a program that implements a system to manage a skin consultation center. I have
Question:
I am creating a program that implements a system to manage a skin consultation center. I have started the code in Java NetBeans.
This is what I done and this is the code.
public class SkinCenter {
private Receptionist receptionist;
private Doctor doctor;
private Patient patient;
public SkinCenter() {
this.receptionist = new Receptionist();
this.doctor = new Doctor();
this.patient = new Patient();
}
public static void main(String[] args) {
SkinCenter sc = new SkinCenter();
}
}
class Receptionist {
private String name;
private String phoneNumber;
private String email;
public Receptionist() {
this.name = "";
this.phoneNumber = "";
this.email = "";
}
}
class Doctor {
private String name;
private String phoneNumber;
private String email;
private String specialization;
public Doctor() {
this.name = "";
this.phoneNumber = "";
this.email = "";
this.specialization = "";
}
}
class Patient {
private String name;
private String phoneNumber;
private String email;
private String medicalHistory;
public Patient() {
this.name = "";
this.phone
Complete it with this: