Name: Anonymous 2011-09-20 22:44
Is anyone willing to lend a helping hand? I'm having some trouble getting Patient.add(patientNo()); to work
// Add patient objects
if (menuOption.equals("7")) {
String patientNo = "OU107";
String patientName = null;
String procedureDate = null;
String description = null;
String supervisingDoctor = null;
String patientStatus = null;
new Patient(patientNo, patientName, procedureDate, description, supervisingDoctor, patientStatus);
ArrayList <String> sr=new ArrayList();
// This wont accept my string
Patient.add(patientNo());
}
// Add patient objects
if (menuOption.equals("7")) {
String patientNo = "OU107";
String patientName = null;
String procedureDate = null;
String description = null;
String supervisingDoctor = null;
String patientStatus = null;
new Patient(patientNo, patientName, procedureDate, description, supervisingDoctor, patientStatus);
ArrayList <String> sr=new ArrayList();
// This wont accept my string
Patient.add(patientNo());
}