View Single Post
Old Feb 14th, 2008, 2:01 AM   #12
pushkarajthorat
Java Developer
 
pushkarajthorat's Avatar
 
Join Date: Jun 2006
Location: Solapur, India.
Posts: 24
Rep Power: 0 pushkarajthorat is an unknown quantity at this point
Send a message via Yahoo to pushkarajthorat
Re: How to compare variable types in Java

@itgalary

Yes. It can also be used..
Its better option than <objectname>.class()
because to invoke func. we have to be sure that <objectname> should not be null.
__________________
[Pushkaraj]


Imagination is more important than knowledge – Albert Einstein
pushkarajthorat is offline   Reply With Quote