GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  J2EE  >  Java Patterns

 Print  |  
Question:  What is singleton pattern ??



April 04, 2007 09:18:45 #3
 Sony V George   Member Since: Visitor    Total Comments: N/A 

RE: What is singleton pattern ??
 

goura, There is one more way to create an instance of the calss. Thatz by using clone() method, for avoiding that. we have to override the clone() method.

Tel me if i went wrong

     

 

Back To Question