aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes assert keyword 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 "assert keyword" Watch "assert keyword" New topic
Author

assert keyword

Don Bosco
Ranch Hand

Joined: Oct 31, 2002
Posts: 108
Why don't I see assert keyword in the list provided my Sun??
http://java.sun.com/docs/books/tutorial/java/nutsandbolts/_keywords.html


SCJP 1.4<p>Wingardium Leviosa!!
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Good point. I have given Sun a gentle poke!
-Barry


Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Don Bosco
Ranch Hand

Joined: Oct 31, 2002
Posts: 108
I tried to run a program using assert as a variable name. Giving me errors even if the assertions are disabled. So I think Sun should really need to update his list.
Yan Bai
Ranch Hand

Joined: Jul 21, 2002
Posts: 125
Originally posted by Don Bosco:
I tried to run a program using assert as a variable name. Giving me errors even if the assertions are disabled. So I think Sun should really need to update his list.

error or warning? I got warnings but the program ran well.


SCJP 1.4
Don Bosco
Ranch Hand

Joined: Oct 31, 2002
Posts: 108
I'm Sorry. That was a warning.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: assert keyword