Knute Snortum wrote:Yes, but your method returns true with a parameter of 1, -1, or the opposite of any prime number.
Campbell Ritchie wrote:What about negative numbers, 0 and 1?
Karla Carr wrote:
My other question is when I type out pw.close() then does it also imply br.close() or fr.close() has also been done? (Other questions are in comments in the code)
Knute Snortum wrote:I'm not familiar with this class. Where did you see it? Why do you need it?