File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Dan Watch "Dan New topic
Author

Dan's Mock Test on Assertions

Gayatri Ganesh
Ranch Hand

Joined: Dec 23, 2003
Posts: 143
Hi,
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.
Thanks,
Gayatri.
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: http://aspose.com/file-tools
 
subject: Dan's Mock Test on Assertions