This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
i create an interface and made 3 implementations for this interface and i also use singleton class to insure that only one object will created and this object will show the implementation of class depending on the number entered by the user for example if user enter 1 the implementation of class 1 will show to user and so on , i try to do something like this
but i think i missed something and i dont know what is it .
so can anyone view my code and tell me if there anything wrong