Hi, I have a doubt on IO. The following is question from Marcus Green tutorial. I think the answer is wrong. Please let me know.
Which of the following statements are true? 1) Java can display character sets independently of the underlying operating system 2) The InputStreamReader may take an instance of the RandomAccessFile class as a constructor 3) An InputStreamReader may act as a constructor to an OutputStreamReader to convert between character sets 4) Java stores text internally as Unicode escape strings Answer says all of them are true. Thanks, Milind
Milind, 1 is probably true but is a very vague statement. 2 Is false. I did not see any such constructor in the InputStream reader class 3. There is no such thing OutputStreamReader . at least not in the JFC. Must be something out of a private library cooked up by brother Marcus. 4. Java uses the 16 bit Unicode character representation internally. But what the heck is an escape string.
I think brother Marcus needs a major overhaul. Or are you trying to be funny brother Milind? Rgds Mary Chaddi
[This message has been edited by Ajith Kallambella (edited November 06, 2000).]