Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Read method in IO Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Read method in IO" Watch "Read method in IO" New topic

Read method in IO

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Is there any difference between read ( all three types ) methods used in InputStream,FilterInputStream and BufferedInputStream. If not, why
1. FilterInputStream overrides read methods of InputStream ?
2. BufferedInputStream overrides read methods of FilterInputStream ?
Tony Alicea

Joined: Jan 30, 2000
Posts: 3222

Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
I agree. Here's the link:
subject: Read method in IO
It's not a secret anymore!