• Post Reply Bookmark Topic Watch Topic
  • New Topic

FilterInputStream vs. FilterOutputStream construction  RSS feed

 
R Arun
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!