wood burning stoves 2.0*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes class can not be instantiated?! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "class can not be instantiated?!" Watch "class can not be instantiated?!" New topic
Author

class can not be instantiated?!

sabyasachi mondal
Ranch Hand

Joined: Dec 26, 2000
Posts: 33
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

Joined: Nov 03, 2000
Posts: 116
InputStream is abstract class, could not be instantinated.
sabyasachi mondal
Ranch Hand

Joined: Dec 26, 2000
Posts: 33
Originally posted by Vladimir Kositsky:
InputStream is abstract class, could not be instantinated.

Thank you Vladimir, it helps me a lot.
Reagrds,
Mondal
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: class can not be instantiated?!
 
Similar Threads
Final Classes
abstract classes and inhereitance
static class question
a question from javacross
Exam Lab Question