I have a weird question about Exception in Java that I am not sure about.
Suppose we have defined a class:
class A extends RuntimeException { ... }
Suppose we have method called C and it calls method that throws A. What is correct?
Inside try-catch
Throw a Runtime Exception.
1 or 2
None of the above