Answer Posted / jayashri
by declaring the constructor as private and we have to create public static method which returns the address of single object.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you choose a design pattern?
Which design pattern is mostly used in net?
What are the most important software design patterns?
What are the differences between the design patterns and the framework?
Which design pattern is mvc?
What are the design patterns you know explain?
What is aop design?
What are the main usage of the patterns?
What is the difference between proxy and adapter?
What are structural design patterns?
Explain what is good design?
Can we make the reference instance non static?
What is the difference between 3 tier and n tier architecture?
What are the benefits of the proxy in the design pattern?
Shall we use abstract classes or interfaces in policy / strategy design pattern?