Programmer's Stack
Pages
Home
clickme.ai
ChannelJava
JQuery
Bootstrap Templates
Selenium
Kafka
GO
{{theTime}}
!doctype>
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:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
ChatGPT - Claude - Gemini - Copilot
Assistant Core Strength Weaknesses Best For Key Specs ...
No comments:
Post a Comment