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 1:01

1: Where is the variable storing the new instance of Person at line 11? Perhaps you meant Person person = new Person(blee blah);

2: ArrayList <String> sr=new ArrayList(); is incorrect.

ArrayList<String> sr = new ArrayList<String>();

nigger faggot

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