What does a function will do when an exception occurs at run time, in that function?
That function will throw that exception to java run time system
that function will throw that exception to previous function
that function will handle that exception
all are true.
Generally when an exception occurs in some function, that function will create an exception object, and hands it to the java run time system. This is called as Throwing an exception.
Back To Top