Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #44.2K
Hi, I'm trying to write a program that asks the user to enter a series of text lines and then stop and write those lines into a text file. I tried to use this: String newFileName; String line; PrintWriter outputStream = new PrintWriter(newFileName); while( line.length()>0){ line = keyboard.next(); outputStream.println(line); } … |