example for Singleton pattern
- by JavaUser
Hi,
Please give me a real time example for singleton pattern .
Different threads accessing a shared file is singleton or not ? Since each thread access the same instance of the file not individual instances of their own .