Page 1 of 1

Why is this Real brainer?

Posted: Thu Nov 21, 2013 6:41 pm
by jeremy_dd
About Question enthuware.ocpjp.v7.2.1145

I dont see why this one is a "real brainer", it seems quite obvious that either both exception, or a superclass of both must be thrown...

Re: About Question enthuware.ocpjp.v7.2.1145 :

Posted: Thu Nov 21, 2013 6:45 pm
by admin
Not many people know about NoSuchFieldException. It is tricky also because it depends on the knowledge that both the exceptions are checked exceptions.