Saurabh Jain
Thursday, October 22, 2009
Some java concepts:
Purpose of defining the constructor private:
1. To make the class singleton
2. Making constructor private will not allow any other class to make object of this class or in other words, this class can not be sub classed...
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment