Hi! I am rather new at Java, and have been reading tutorials here and there and making small programs. I am currently working on exception handling. In one particular tutorial, I came across the next lines:
The argument type, SomeThrowableObject, declares the type of exception that the handler can handle and must be the name of a class that inherits from the Throwable class defined in the java.lang package. If the argument type is an interface, the exception class implements the interface."
I�m having a hard time visualizing this last bit. Can anyone give me a working example in which the argument type is an interface, and how the it works in this case?