A good answer might be:Yes. |
FileWriterClass FileWriter is used for output of character data to a disk file. Here is where it is in the hierarchy of Writer classes:
The arrows in this diagram show inheritance (not data flow). A FileWriter is a kind of OutputStreamWriter, which is a kind of Writer, which is a kind of Object. When you read Java documentation, you might look at several ancestors as you study a promising class you are. |
QUESTION 3:Say that you want the processing that OutputStreamWriter performs. Will you get this with a FileWriter? Click Here after you have answered the question |