java - How to call a method that uses potentially uninitilized arrays as paramaters? -
I am writing a program that reads a text file in parallel array, then users can match those parameters Let's declare these arrays at the beginning of the code, printed in a separate file, but they did not start until the length of time depends on the data extracted from the file. I am now attempting to write methods that print filtered results in a file, but eclipse is telling me that I can not give them as parameters because they are initialized Are not there. But they are started, only within a loop. I can not start them before, because the program does not yet know the required length the relevant bit of code filter location (time, longitude, magnitude, latitude , Location, description, entries); Where there are errors, when I try to call the method by the main method public static zero filter location (string [] time, double [] Latitude, double [] longitude, double [] magnitude, string [] location, string [] description, int entries) I'm trying to write,...