Page 1 of 1

About Question enthuware.ocpjp.i.v11.2.1385 :

Posted: Sun Aug 02, 2020 7:29 am
by mistor
Shouldn't the MyspecialException be imported? Since the question is provided with line numbers that start from 1, I assumed that all package and import statements should also be part of the code

Re: About Question enthuware.ocpjp.i.v11.2.1385 :

Posted: Sun Aug 02, 2020 7:37 am
by admin
Not really. MySpecialException is in the default (i.e. unnamed package) as is the ExceptiontTest class. No import or package statement is required here.