It might be quite newbie question but i've been through my books and searched online; yet still didn't find any answers.
I have a couple of classes with methods in them.
In my main :
public class main
{
public static void main(String fileslist[])
{
new Folder();
Search SearchFiles = new Search();
SearchFiles.GetKey();
SearchFiles.ReadSearch();
}
}
I have named ReadSearch() :
AS :
public static void ReadSearch(String fileslist[])
In the main i have tried SearchFiles.ReadSearch(String fileslist[]);
which is actually the array it's dealing with, throughs an error.
Any ideas ?
Am i missing something really simple over here ?