Testing for file opens
try {
output = new DataOutputStream(
new FileOutputStream(fname1));
}
catch(IOException e) {
System.err.println(“File not opened” +
fname1 + e.toString());
}
Previous slide
Next slide
Back to first slide
View graphic version