How does encoding affect using Reader / writer classes or Stream classes in Java ?
Javasearch.buggybread.com

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.
Label / Company      Label / Company / Text

   



Interview Questions and Answers

 Q1. How does encoding affect using Reader / writer classes or Stream classes in Java ? Core Java
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


Related Questions

  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 ?



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: