What is the method to find if the object exists or not
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sisira_M
Posted On:   Monday, November 11, 2002 11:22 PM

Hi,


In a java program how can i find out if an object exists or not.


regards,


Sisira

Re: What is the method to find if the object exists or not

Posted By:   Sebastian_Beyer  
Posted On:   Tuesday, November 12, 2002 12:28 AM

Hi Sisira,

Why dont you just try:



if (object != null)
{...}

Greets from Hamburg/Germany

Sebastian

About | Sitemap | Contact