File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes FilterInputStream vs. FilterOutputStream construction 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 "FilterInputStream vs. FilterOutputStream construction" Watch "FilterInputStream vs. FilterOutputStream construction" New topic

FilterInputStream vs. FilterOutputStream construction

R Arun
Ranch Hand

Joined: Apr 20, 2002
Posts: 33
The constructor for FilterInputStream is protected. Understandable because this class is not meant to be instantiated by outsiders, and serves primarily as a base class.
Why is the constructor for FilterOutputStream public? Can somebody rationalize this?
I agree. Here's the link:
subject: FilterInputStream vs. FilterOutputStream construction
Similar Threads
How much of is required ?
Confused by Sun I/O tutorial