public static String getString(){
try {
//return "a" + 1/0;
return "a";

} catch (Exception e) {
System.out.println(1);
return "b";
// TODO: handle exception
}finally{
System.out.println(2);
return "c";
}
}

 

请问输出多少?答案也许会让你大吃一惊哦

相关文章:

  • 2021-10-03
  • 2021-10-14
  • 2021-08-17
  • 2021-09-04
  • 2022-12-23
  • 2022-12-23
  • 2022-01-24
  • 2021-10-30
猜你喜欢
  • 2021-07-24
  • 2022-12-23
  • 2021-08-20
  • 2021-09-02
  • 2021-11-02
  • 2022-12-23
相关资源
相似解决方案