Hello:
can someone please explain to me how -ea:... enables assertions in the Main class?
About Question com.enthuware.ets.scjp.v6.2.459 :
Moderator: admin
-
- Posts: 1
- Joined: Sat Mar 23, 2013 6:03 pm
- Contact:
-
- Site Admin
- Posts: 10068
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question com.enthuware.ets.scjp.v6.2.459 :
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.
HTH,
Paul.
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 150 guests