Implement FileConsoleWriter's logic.
The FileConsoleWriter class must have a private FileWriter field called fileWriter.
The FileConsoleWriter class must have every constructor used to initialize fileWriter for writing.
The FileConsoleWriter class must have five write methods and one close method:
-
Your own FileWriter
- 20
Locked
Comments (5)
- Popular
- New
- Old
You must be signed in to leave a comment
matemate123
31 January, 21:40
It's not difficult, it's just unfamiliar
0
Justin Smith
1 November 2021, 03:22
Not really that difficult, just a bit tedious.
0
Jurij Thmsn
19 April 2021, 13:56
if FileConsoleWriter extends FileWriter, you can override methods and delete the extension afterwards. This way IntelliJ does half the job 😎
0
Mike S
16 March, 18:30
Hi Jurij, obviously I know how to make FileConsoleWriter inherit FileWriter, but when I do that, it doesn't give me a tidy option to override all of its classes. Tried right-clicking and such around it and doesn't give me that option : / ...
0
Mike S
16 March, 19:19
Never mind... "ctrl + O" for any other nerds who didn't just Google it first
0