0
我有像java運行在「定義文本流(閱讀器),將從空白清除」。我檢查讀者,而且只需要實現2種方法:Java閱讀器實現
@Override
public int read(char[] cbuf, int off, int len) throws IOException {
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
}
@Override
public void close() throws IOException {
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
}
我有點困惑我應該怎麼真正做到。據我所知cbuf
是目的地,所以我應該讀什麼?
你應該問問誰給了你這個練習。 – Keppil