Win a copy of Securing DevOps this week in the Security forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

assert  RSS feed

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hallo
is assert a java keyword/reserved ?
 
author
Sheriff
Posts: 8955
17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
They weren't very bright, but they were very, very big. Ad contrast:
Thread Boost - a very different sort of advertising
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!