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
paul wheaton
Paul Clapham
Ron McLeod
Sheriffs:
Jeanne Boyarsky
Liutauras Vilda
Saloon Keepers:
Tim Holloway
Carey Brown
Roland Mueller
Piet Souris
Bartenders:
Forum:
Programmer Certification (OCPJP)
Assertion & default package
Pradeep bhatt
Ranch Hand
Posts: 8946
I like...
posted 20 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 20 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: 8946
I like...
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Thanks Mike.
Groovy
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
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...