Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

instance varibales for Singleton class ?  RSS feed

 
kri shan
Ranch Hand
Posts: 1487
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it good practice to use instance varibales for Singleton class.
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36430
454
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why wouldn't it be? A singleton is just a class.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!