[code]
import java.io.*;
public class Mine {
public static void main(
String argv[]){
Mine m=new Mine();
System.out.println(m.amethod());
}
public int amethod() {
try {
FileInputStream dis=new FileInputStream("Hello.txt");
return 1;
}catch (FileNotFoundException fne) {
System.out.println("No such file found");
return 2;
}catch(IOException ioe) {
} finally{
System.out.println("Doing finally");
//return 3;
}
return 0;
}
}
[\code]
the answer is
No such file found
Doing finally
2
Any one can explaing to me
regards
rex