Skip to main content
added 135 characters in body
Source Link

Access modifiers would help. Also, more error handling such as with fileRead() and fileWrite() methods. I would use a try-catch block to deal with the event that the files don't exist. For eachForeach loops for your arrays would help simplify some of your code as well but It looks pretty good overall.

Example:

  for(Object o: array) //loops through each Object in your array.
   {
     System.out.println(o.toString());
   }

Access modifiers would help. Also, more error handling such as with fileRead() and fileWrite() methods. I would use a try-catch block to deal with the event that the files don't exist. For each loops for your arrays would help simplify some of your code as well but It looks pretty good overall.

Access modifiers would help. Also, more error handling such as with fileRead() and fileWrite() methods. I would use a try-catch block to deal with the event that the files don't exist. Foreach loops for your arrays would help simplify some of your code as well but It looks pretty good overall.

Example:

  for(Object o: array) //loops through each Object in your array.
   {
     System.out.println(o.toString());
   }
Source Link

Access modifiers would help. Also, more error handling such as with fileRead() and fileWrite() methods. I would use a try-catch block to deal with the event that the files don't exist. For each loops for your arrays would help simplify some of your code as well but It looks pretty good overall.