Java – Read keyboard input and write it into a text file [closed]
Since I assume you are a beginner in Java, i wrote a short code sample with self-explanatory comments. The application runs on the command line and reads line by line, where a line ends by hitting the enter key. If you type “EXIT”, the application quits. The text file to be written is located at … Read more