Reading Writing Text  «Prev  Next»


Character Sets Readers - Quiz

Each question is worth one point. Select the best answer or answers for each question.
 
1. How many bytes are there in a Java char?
Please select the best answer.
  A. 1
  B. 2
  C. 3
  D. 4

2. What's Java's basic character set?
Please select the best answer.
  A. ASCII
  B. ISO Latin-1
  C. Unicode
  D. UTF-8


3. What's the difference between a reader and an input stream?
Please select the best answer.
  A. An input stream can be buffered; a reader cannot be
  B. A reader reads characters; an input stream reads bytes
  C. A reader returns characters; an input stream returns bytes
  D. A reader returns characters; an input stream returns numbers


Your score is 0.0