Quote
Prof said a singleton class is just a class with one purpose.
No. Either he misspoke or you misunderstood. Singletons mean only one object can exist at a time. So you need a private constructor. there are different patterns you can follow (lazy loading, eager loading, etc).
can you post the exact words of the assignment? i'm not clear what this menu is. just some kind of "choose option 1, 2, or 3" in the console?
This post was edited by carteblanche on Nov 1 2015 10:53am