• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

New Keyword in JDK 1.4

 
latha mary
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
There is one more keyword added with Java.
It's name is "assert".
I do not know anyone has talked about this earlier.
Will it be included in the SCJP exam ??!!
Here is the link
http://developer.java.sun.com/developer/technicalArticles/releases/j2se1.4/
 
Sai Patnala
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, There was a new keyword added in 1.4 relating to assertions.
But you are never asked any thing out of 1.2 Certification objectives. Some are implicit though.
 
Dave Vick
Ranch Hand
Posts: 3244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
latha
1.4 is not final yet so it may still change, however I have heard that assert was going to be added to the language so that'll probably stay in. That being said, the test is not going to change too quickly - they are still testing on version 1.2 (I think).
It would take a some time before decide to chane the test - in their own words yo need to have yused Java for at least 6 months before taking the test so you've probably got at least that long after the final release before any changes are made.
for more on asserts check out the specification proposal for it.
hope that helps
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic