Hi Hans,
you can't create an instance of a FilterInputStream directly, cause the Constructor is protected.
You should use one of the already defined subclasses, for example BufferedInputStream...
Or you can define your own FilterInputStream by subclassing FilterInputStream.
Hope that helps
Oliver
Originally posted by Hans Li:
I want to construct an instance of FilterInputStream as
FilterInputStream fi=new FilterInputStream(System.in);
but compiler say it's error.
I don't knoe how to construct it.
Thnak you