aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Assertion 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 "Assertion" Watch "Assertion" New topic
Author

Assertion

Satyajeet Kadam
Ranch Hand

Joined: Oct 19, 2006
Posts: 215
Assertion Error:
Please tell where is the problem

Anton Uwe
Ranch Hand

Joined: Jan 10, 2007
Posts: 122
"assert t>1:foo(8);" surely will not compile, because "foo(8)" does not evaluate to a value. But what do you mean with "problem"?
Anton Uwe
Ranch Hand

Joined: Jan 10, 2007
Posts: 122
Edit: Double post due to a forum error.
[ March 06, 2007: Message edited by: Anton Uwe ]
Atul Sawant
Ranch Hand

Joined: Jul 06, 2006
Posts: 304
assert should return anything but void.


Mission SCWCD. Mission SCJP Complete: SCJP 1.4 - 91%
 
 
subject: Assertion