Hi,
I encountered this line of code:
Now, my question is: how is it possible that it's using FileReader class as an argument to the constructor? According to
Java 7 API, the constructor for BufferedReader class is BufferedReader(
Reader in), i.e. my understanding is that it should have an object of type Reader or Reader's subclasses, and FileReader is not even a subclass of Reader. How is this possible?
Thank you.