File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes New Keyword in JDK 1.4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "New Keyword in JDK 1.4" Watch "New Keyword in JDK 1.4" New topic

New Keyword in JDK 1.4

latha mary

Joined: Jan 24, 2002
Posts: 20
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
Sai Patnala
Ranch Hand

Joined: Jan 09, 2002
Posts: 60
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

Joined: May 10, 2001
Posts: 3244
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

I agree. Here's the link:
subject: New Keyword in JDK 1.4
It's not a secret anymore!