{{theTime}}

Search This Blog

Total Pageviews

assert keyword vs identifier

Does this code compiles?

boolean assert  = false ;
if ( assert )

Java1.4 and above:  No compilation error
Java1.3 : Compiles.  'assert' is not keyword in java1.3.  To compile use
javac -source 1.3 Classname.java

No comments:

Cucumber Eclipse sample program

Cucumber Eclipse SetupCreate Eclipse Maven Project Open pom.xml Goto Dependencies Add GroupId: info.cukes, Artifact Id: cucumber-java, Versi...