Java - Custom Exceptions
What will happen if a custom checked exception is thrown but not declared or caught?
class MyException extends Exception {}
public class Test {
public static void main(String[] args) {
throw new MyException();
}
}