Please respect Java's naming convention and capitalize class names. Because you didn't do that, this statement is more than suspect:
contact contact = null;
And what's the purpose of this...
Type: Posts; User: GregBrannon
Please respect Java's naming convention and capitalize class names. Because you didn't do that, this statement is more than suspect:
contact contact = null;
And what's the purpose of this...
Cross posted here.
Fix the catch block, add print statements that indicate what is being read and displays the contents of the data structure before trying to print it.
There doesn't appear to be anything wrong with the code you posted that would print the data, but before the data is printed it is being read from a file. Verify that the data is being read from the...