Thread
:
How to compare variable types in Java
View Single Post
Feb 14th, 2008, 2:01 AM
#
12
pushkarajthorat
Java Developer
Join Date: Jun 2006
Location: Solapur, India.
Posts: 24
Rep Power:
0
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
View Public Profile
Find More Posts by pushkarajthorat