Search Interview Questions
| More than 3000 questions in repository.|
There are more than 900 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Interview Questions and Answers|
|Ans. Which group of bytes represent which character is defined by character encoding. So when reading character by character from a stream of bytes using Reader, specifying character encoding becomes significant as the same group of bytes can represent different character in different character encoding(Eg UTF-8 and UTF-16 etc.)|
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  File io  File handling  Reader  Writer  Stream Asked in 1 Companies|
|Tell something about BufferedWriter ? What are flush() and close() used for ?|
|What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?|
|Which is the abstract parent class of FileWriter ?|
|Name few Writer classes ?|
|How and when the Buffer is cleared when using Buffered Writer Classes ?|
|What is the difference between the Reader/Writer java.io hierarchy and the Stream class hierarchy?|
|Have you ever faced any problem because of PrintWriter buffer and autoflush mechanism ? How did you got rid of it ?|
|Can we disable auto flushing for PrintWriter ?|