This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

FilterInputStream vs. FilterOutputStream construction

 
R Arun
Ranch Hand
Posts: 33
  • 0
  • 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.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic