{{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:

Optimizing Java Applications for Low-Latency Microservices

Introduction Microservices architecture has become a go-to for building scalable, modular systems, but achieving low latency in Java-based...