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

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

Moderator: admin

Post Reply
MensahA
Posts: 1
Joined: Sat Mar 23, 2013 6:03 pm
Contact:

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

Post by MensahA »

Hello:

can someone please explain to me how -ea:... enables assertions in the Main class?

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

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

Post by admin »

Three dots just after -ea: enable assertions in the unnamed package in the current working directory. Since that is where Main class is (as given in the question), it enables assertions for that class.

HTH,
Paul.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 58 guests