Page 1 of 1

About Question com.enthuware.ets.scjp.v6.2.368 :

Posted: Thu Dec 20, 2012 5:48 am
by ikel
Could some clarify
"Overriding method only needs to specify a subset of the list of exception classes the overridden method can throw. A set of no classes is a valid subset of that list"
Does that mean that no declaration of exception classes is a subset of that particular exception?

Thank you.

ikel

Re: About Question com.enthuware.ets.scjp.v6.2.368 :

Posted: Thu Dec 20, 2012 8:35 am
by admin
Yes. An empty set is a subset of any set.
-Paul.