Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

singleton design pattern

843789Oct 24 2009 — edited Oct 25 2009
Hey all!

I have a game configuration class that reads a file and stores all the game settings for a game in the appropriate data structures. Because I only want one instance of this class every floating around would it be a good candidate to implement using the singleton design pattern?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 22 2009
Added on Oct 24 2009
3 comments
199 views