现有: -f是一个对java .io.File实例的合法引用 - fw足‘个对java.io.FileWriter实例的合法引用 - bw足一个对java.io.BufferedWriter实例的合法引用 以下哪一项无效?()
- A、PrintWriter prtWtr = new PrintWriter (f);
- B、PrintWriter prtWtr = new PrintWriter( fw);
- C、PrintWriter prtWtr = new PrintWriter(bw):
- D、BufferWriter bufWtr = new BufferedWritr(f);
- E、BufferWriter bufWtr = new BufferedWriter(fw);
- F、BufferWriter bufWtr = new BufferedWriter (bw):
正确答案:D
答案解析:有
微信扫一扫手机做题