阅读程序,描述该程序的功能。
import java.io.*;
public class Test30 {
public static void main(String args[]) {
try {
FileInputStream in = new FileInputStream("fortest30.txt");
while(in.available()> 0)
System.out.print(in.read( + " "); .
in.close();
} catch (FileNotFoundExceptione) {
Sytemutpritin("rror: Cannot open file for reading";
} catch (EOFExceptione) {
Systemur.trnt"'rror: EOF encountered, file may be corrupted.");
} catch (lOExceptione) {
Sytemo.utprintnt"rror: Cannot read from fle.");
}
}
}