Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Java casting

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());
               
               
                }

Name: Anonymous 2011-09-21 10:27

>>9 is afraid of being collected because nobody wants to have him as a reference.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List