Write methods as general as possible. If you write a method called getUserName() so that it includes all possible cases of getting a person's user name with corresponding fault handling, then you...
Type: Posts; User: GregBrannon
Write methods as general as possible. If you write a method called getUserName() so that it includes all possible cases of getting a person's user name with corresponding fault handling, then you...
Post your code between code tags.
Empty catch blocks are worthless and a bad habit.
To PhHein's point about the length and purpose of the main() method: If you've learned about the use of...