File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Dan's Mock Test on Assertions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Dan Watch "Dan New topic

Dan's Mock Test on Assertions

Gayatri Ganesh
Ranch Hand

Joined: Dec 23, 2003
Posts: 143
I have a doubt regarding Dan's Mock test on Assertions.
It says that the following statement is true.
Assertions can be selectively enable for the unnamed package in the current working directory.
I do not understand how this statement can be true.
Can anyone please explain me.
Adrian Pang
Ranch Hand

Joined: Feb 20, 2004
Posts: 40
I just did that exam and I think it means you can go:
java -ea:... myProg
To enable assertion for unnamed packages in the current directory.
Programming with Assertions

SCJP 1.4, SCWCD 1.4, SCBCD 1.3
Gayatri Ganesh
Ranch Hand

Joined: Dec 23, 2003
Posts: 143
Thanks Adrian.
I agree. Here's the link:
subject: Dan's Mock Test on Assertions
Similar Threads
Dan's questions on assertions: inconsistent?
Dan's test ques - Assertions
Dan's Q of Assertion?
For Dan's attention:
Dan's Questions