Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
Hi, What are the valid arguments for the FilterInputStream constructor? A.File B.FileInputStream C.DataInputStream D.BufferedInputStream E.FileReader F.BufferedWriter G.InputStreamReader F.None of the above My nas is:none of the above. according to API it takes only InputStream but when I tried the prog with B,C,D as arguments for FilterInputStream compiler is saying that "no constructor matching found".Moreover we cannot insttantiate a FilterInputStream as the conctructor of it is protected. Am I correct??? [Please register so that we can get in touch with you when required]
[This message has been edited by Rahul Mahindrakar (edited September 14, 2000).]
Geetha, A is correct. FileInputStream has a constructor which take a File object as a parameter. The other two constructors take a FileDescriptor object and a String object respectively. Refer to the API for more details. hth Sandeep