题目详情
单选题 在Java异常处理中经常存在与下述代码片段类似的代码: try { …… } catch(ArithmeticException are) { System.out.println("算术错误!"); } catch(ClassNotFoundException e1) { System.out.println("类没有找到!"); } catch(SQLException e2) { System.out.println("数据库操作错误!"); } 分析上述代码,在Java异常处理机制中蕴含了( )设计模式

学科:软件体系结构与设计模式
时间:2024-06-27 05:09:30
