This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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.
 
Have you checked out Aspose?
 
subject: Dan's Mock Test on Assertions
 
It's not a secret anymore!