Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCPJP
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
Liutauras Vilda
Jeanne Boyarsky
paul wheaton
Sheriffs:
Ron McLeod
Devaka Cooray
Henry Wong
Saloon Keepers:
Tim Holloway
Stephan van Hulst
Carey Brown
Tim Moores
Mikalai Zaikin
Bartenders:
Frits Walraven
Forum:
Programmer Certification (OCPJP)
Assertion & default package
Pradeep bhatt
Ranch Hand
Posts: 8945
I like...
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I tried to enable assertion for a class file in the default package but it did not work.
java -ea:. AssertionTest
Can't we eanble assertion for default package alone ?
Mike Gershman
Ranch Hand
Posts: 1272
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Try this
java
-ea:... AssertionTest
Mike Gershman
SCJP 1.4, SCWCD in process
Pradeep bhatt
Ranch Hand
Posts: 8945
I like...
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Thanks Mike.
Groovy
This parrot is no more. It has ceased to be. Now it's a tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Doubt with assertions - Kathy Sierra chapter 10
Assertion doubt
Appropriate Assertion
Assertions
question
More...