Java OCA OCP Practice Question 2040

Question

What is the default encoding for an OutputStreamWriter?.

Select the one correct answer.

  • (a) 8859_1
  • (b) UTF8
  • (c) Unicode
  • (d) The default is system-dependent.
  • (e) The default is not system-dependent, but is none of the above.


(d)

Note

The default encoding for OutputStreamWriter is the default encoding of the host platform.




PreviousNext

Related