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

Java Script GET request Sample Code

fetch(' https://api.public.com/api ')   .then(response => response.json())   .then(data => console.log(data))   .catch(error =...