【23xiu.com-爱上秀-教育信息门户网】
C.the code will not compile.
D.None of these.
7:
What is the result when you compile and run the following code?
public class ThrowsDemo
{
static void throwMethod()
{
System.out.println("Inside throwMethod.");
throw new IllegalAccessException("demo");
}
public static void main(String args[])