About Question enthuware.ocpjp.i.v11.2.1385 :
Moderator: admin
-
- Posts: 2
- Joined: Sun Aug 02, 2020 7:26 am
- Contact:
About Question enthuware.ocpjp.i.v11.2.1385 :
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
-
- Site Admin
- Posts: 10384
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.i.v11.2.1385 :
Not really. MySpecialException is in the default (i.e. unnamed package) as is the ExceptiontTest class. No import or package statement is required here.
Who is online
Users browsing this forum: No registered users and 17 guests