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: kodak_gallery_programmer !!kCq+A64Losi56ze 2011-09-21 18:57

>>20
What the hell? Are you fucking stupid? Someone just asked you to post some complete working code. That didn't imply post another code snippet.

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