File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
Programmer Certification (SCJP/OCPJP)
null instanceof aclass
Joined: Apr 20, 2003
Dec 09, 2003 16:50:00
I know I should remember this but I need to use it now and can you guys confirm to me if
null always evaluate true if we do an
null instanceof ClassWhatever ?
Giselle Dazzi<br />SCJP 1.4
author and iconoclast
Joined: Jul 08, 2003
Dec 09, 2003 17:17:00
It always evaluates to
not to true.
[Jess in Action]
Don't get me started about those stupid
subject: null instanceof aclass
Casting a null object...
cast & instanceof
instanceof problem...scjp book page no.285
Clean way of checking if object type is primitive or String
null instanceof an Object ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014