Re: Why they make it "Final"
Friday, June 13, 2003 04:24 AM
This is Sigleton patern implementation....The clas constructor is declared private...so you can't invoke directly...In order to get an instance of the class you may invoke the 'getInstance()' metod...this method internally calls the constructor an returns to you, a Singleton instance...
Static mens that this variable will be shared along all running instances of Singleton classes
In this case you will have running an only instance of this class.