A good answer might be:The answer is seen below: | |
Complete ProgramHere is the complete program. Remember that stdin is this program's name for a BufferedReader object. BufferedReaders buffer characters that come from an InputStreamReader which is connected to the raw input stream System.in.
There are lots of things to understand in this program. Don't be afraid to go through these notes again. | |
QUESTION 5:Just as a review: why must the part throws IOException be used? Click Here after you have answered the question |