Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

class can not be instantiated?!

 
sabyasachi mondal
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which class CANNOT be directly instantiated?
Choice 1
java.io.BufferedReader
Choice 2
java.io.StringBufferInputStream
Choice 3
java.io.DataInputStream
Choice 4
java.io.InputStream
Choice 5
java.io.FileReader
Can anyone find the answer? Thank you.
Regards,
Mondal
 
Vladimir Kositsky
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
InputStream is abstract class, could not be instantinated.
 
sabyasachi mondal
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Vladimir Kositsky:
InputStream is abstract class, could not be instantinated.

Thank you Vladimir, it helps me a lot.
Reagrds,
Mondal
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic