言,最后 实实 发现只有 RUBY 是他们想要的(第一版序 言?) • When we discovered Ruby, we realized that we’d found what we’d been looking for. • You can concentrate on solving the problem at hand, instead of struggling with compiler and language issues. • Four years later. Ruby is still our language of choice
void main(String[] args) { File file = new File("C:\\MyFile.txt"); FileInputStream fis = null; BufferedInputStream bis = null; DataInputStream dis = null; try { fis = new FileInputStream(file); // Here BufferedInputStream is added for fast reading. bis = new BufferedInputStream(fis); dis = new DataInputStream(bis); // dis.available() returns 0 if the file does not have more lines.