FileInputStream类问题,高手请进!
今天在读FileInputStream类源代码时,发现在实现read()、available()、open()、skip()等方法时调用了外部实现。源代码如下:
public native int read() throws IOException;
public native long skip(long n) throws IOException;
public native int available() throws IOException;
那么Java类库中是如何实现这些方法的?