This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Does this exist? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Does this exist?" Watch "Does this exist?" New topic
Author

Does this exist?

Holmes Wong
Ranch Hand

Joined: Feb 18, 2002
Posts: 163
I saw somewhere people mention "instanceOf". I know we have instanceof. Does the former exist
in Java?
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
Nope, instanceOf does not exist... The correct syntax is instanceof.


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
Rajinder Yadav
Ranch Hand

Joined: Jan 18, 2002
Posts: 178
I'd add to that, that all java keywords are in lowercase and that instanceof is an operator, incase you get asked that


<a href="http://www.rajindery.com" target="_blank" rel="nofollow">Rajinder Yadav</a><p>Each problem that I solved became a rule which served afterwards to solve other problems. --Rene Descartes
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Does this exist?
 
Similar Threads
threads
Is there any way to track session without session object,Cookies,Hidden fields and URL rewriting?
instanceOf is not the same as instanceof
Object resolution
servlet compilation error.