go to previous page   go to home page   go to next page

Answer:

Yes.


FileWriter

writer hierarchy

Class FileWriter is used for output of character data to a disk file. The arrows in the diagram show inheritance. An arrow points to the parent class.

A FileWriter is a kind of OutputStreamWriter, which is a kind of Writer. When you read Java documentation, you might need to look at several ancestors of the class you are interested in.


QUESTION 3:

Say that OutputStreamWriter has a method you would like to use. Will a FileWriter object have this method?