下面程序抛出了一个“异常”并捕捉它。请在横线处填入适当内容完成程序。( )classTrowsDemo{public staticvoidprocedure() IllegalAccessExcepton{ System.out.println(“insideprocedure”); throw new IllegalAccessException(“demo”);}} A: try B: catch C: throw D: throws
下面程序抛出了一个“异常”并捕捉它。请在横线处填入适当内容完成程序。( )classTrowsDemo{public staticvoidprocedure() IllegalAccessExcepton{ System.out.println(“insideprocedure”); throw new IllegalAccessException(“demo”);}} A: try B: catch C: throw D: throws
1