Wait, I think I remember now... You don't need to declare it if it's an array that's returned, only if it's an integer double or a string and so on. Right?
Type: Posts; User: wholegrain
Wait, I think I remember now... You don't need to declare it if it's an array that's returned, only if it's an integer double or a string and so on. Right?
Since we return list, shouldn't list be a parameter of the method create()?
I thought we'd have to write: "create(String nameFile, List[] list)" or something similar.
static LinkedList<People> Create(String nameFile)
throws IOException
{ LinkedList<People> list = new LinkedList<People>();
boolean Fileexists = true ;
FileReader fi = null;
...