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

assert

Radouane
Greenhorn

Joined: Aug 01, 2003
Posts: 21
hallo
is assert a java keyword/reserved ?
Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8815
    
    5
As of 1.4 'assert' is a keyword. If you want to run pre-1.4 code that happened to use 'assert' as a name, you can tell the compiler to ignore 'assert' as a keyword.


Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
 
jQuery in Action, 2nd edition
 
subject: assert