• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

jchq I/O question

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can any1 tell me why all the selections are correct?
I'm wondering about 2) & 3)
thanks
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
 
Ranch Hand
Posts: 3141
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Bing,
2. I'm not sure about this either. On the surface, doesn't look as if it would be true since InputStreamReader ctor's take InputStreams and RandomAccessFile does not inherit from InputStream.
3. There is no OutputStreamReader class, only OutputStreamWriter. At least that's the only one I could find in the JDK 1.3 docs.
------------------
Jane
The cure for boredom is curiosity.
There is no cure for curiousity.
-- Dorothy Parker
 
F is for finger. Can you stick your finger in your nose? Doesn't that feel nice? Now try this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic