Not Able to getInstanceOf Object
I am trying identify whether particular object is an instance of the Object,I am using this in the blackberry java application,I am using Eclipse IDE,Even though Object shows it as RenderDetails,But it is not getting under the condition of instanceof Operation,
com.app.MyObjectDetails@db8a08fa--getting this as Eclipse debugging
if i check as
if (Object instanceof MyObjectDetails)
S.o.p("MyObject")---->i am not getting here
Any Ideas what could be the problem,?