How can I maintain a single instance of an object in an applet?

Kumar Pandey

In start(), instead of always creating a new object, return the existing one if it exists or create a new one if it doesn't.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact