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

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
mistor
Posts: 2
Joined: Sun Aug 02, 2020 7:26 am
Contact:

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

Post 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

admin
Site Admin
Posts: 10036
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

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

Post 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.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: marpiva and 55 guests