public class DoctorAppointments { public static void main(
public class DoctorAppointments { public static void main(String[] args) {
// CONSTRUCTOR
Patient myAppointment = new Patient(“Tyrone”, 22, 62, 175);
Patient myAppointment2 = new Patient(“Becka”, 18, 57, 105);
Patient myAppointment3 = new Patient(“Ashley”, 31, 54, 155);
Patient myAppointment4 = new Patient(“Muhammad”, 62, 51, 122);
// METHODS
System.out.println(“Apointment 1 – 10:00”);
System.out.println(“Name: ” + myAppointment.getName());
System.out.println(“Age: ” + myAppointment.getAge());
System.out.println(“Height: ” + myAppointment.getHeight());
System.out.println(“Weight: ” + myAppointment.getWeight());
System.out.println(“\nAppointment 2 – 11:00”);
System.out.println(“Name: ” + myAppointment2.getName());
System.out.println(“Age: ” + myAppointment2.getAge());
System.out.println(“Height: ” + myAppointment2.getHeight());
System.out.println(“Weight: ” + myAppointment2.getWeight());
System.out.println(“\nLUNCH BREAK – 12:00-1:30”);
System.out.println(“\nAppointment 3 – 2:30”);
System.out.println(“Name: ” + myAppointment3.getName());
System.out.println(“Age: ” + myAppointment3.getAge());
System.out.println(“Height: ” + myAppointment3.getHeight());
System.out.println(“Weight: ” + myAppointment3.getWeight());
System.out.println(“\nAppointment 4 – 3:30”);
System.out.println(“Name: ” + myAppointment4.getName());
System.out.println(“Age: ” + myAppointment4.getAge());
System.out.println(“Height: ” + myAppointment4.getHeight());
System.out.println(“Weight: ” + myAppointment4.getWeight());
System.out.println(“\nGotta GO! – 4:30-5:00”);
}
}
Hi please help. I don’t understand why I keep receiving a “cannot find symbol” error