Edward Chen wrote:In Java API, which class is singleton Class ? ClassLoader is Singleton ?
Nope. Check the API documentation and you'll see it has constructors. A class which is meant to be a singleton can only have private constructors -- you can see why that is, right?
Paul Clapham wrote:
Nope. Check the API documentation and you'll see it has constructors. A class which is meant to be a singleton can only have private constructors -- you can see why that is, right?
yes, right. then in Java API, which class is singleton Class ? None ?