try{
…
}catch{
}
finally{
}
finally无论如何都会走
class Example {
static void main(String[] args) {
try{
File file = new File("E://file.txt");
FileReader fr = new FileReader(file);
}catch(Exception e2){
println("have some issue \n");
}
finally{
println("a day go");
}
}
}