Ah brilliant, I can't believe I didn't spot that mistake. :O
Ok, so i'm going to take your advice and create a new class. Will have to look up arrayList also, thank you for the guidance.
Type: Posts; User: SkynetSystems
Ah brilliant, I can't believe I didn't spot that mistake. :O
Ok, so i'm going to take your advice and create a new class. Will have to look up arrayList also, thank you for the guidance.
C:\mywork>javac HospitalOne.java
HospitalOne.java:19: error: ']' expected
public String[][] patName[100][10];
^
HospitalOne.java:19: error: illegal...
There are 36 errors in the HospitalOne class which would have taken me around an hour to type in so I printscreened them, all of the following 'hidden' errors match the array errors.
738
Hi, I am trying to make a simple program which is meant to resemble a hospital patient database.
My aim is that when the user types in a patients name, I want it to type a couple of messages using...