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
What is the prototype design pattern?
Can we use an equated value as operands for an MVC ? Reason for the same.
Explain three types of components comprise an application design?
Can we make the reference instance non static?
What is viper architecture?
Which design patterns have you used in your project ?
Write the code for a singleton class?
Can you explain singleton pattern?
Why should we not use singleton pattern?
What are the most important software design patterns?
What is factory method in design pattern?
What are the benefits of the proxy in the design pattern?
What is the difference between adapter and facade?
What is singleton and factory pattern?
What is difference between function oriented design and object oriented design?