File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

class can not be instantiated?!

 
sabyasachi mondal
Ranch Hand
Posts: 33
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic