I used the code you gave me and it is saying all the values are null which I am guessing is the problem?
I want the users input to change the value from null to the input?
Could you explain why my...
Type: Posts; User: abzywabzy
I used the code you gave me and it is saying all the values are null which I am guessing is the problem?
I want the users input to change the value from null to the input?
Could you explain why my...
I have printed the array out because what I am trying to do is have the user input an arraylist into various array values. For example for [1][3]'s value I would try add the places "derby" and...
Exception in thread "main" java.lang.NullPointerException
at myCourseworkPackage.stops.setStops(stops.java:26)
at train.main(train.java:179)
Thats the full error message
line 26 of stops is the...
Am new to programming and am trying to create a system that is similar to a train timetable system.
I want the user to be able to enter the stops between two stations ( from a preset list of 5...