Search Interview Questions
| 3235 questions in repository.|
There are more than 200 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Design - Interview Questions and Answers for 'Harris' - 1 question(s) found - Order By Newest|
|Frequently asked Design Pattern interview question.|
|Ans. The prototype pattern is a creational design pattern. It is used when the type of objects to create is determined by a prototypical instance, which is cloned to produce new objects. Prototype is used when we need duplicate copies of objects.|
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve design pattern prototype design pattern cloning CapitalOne Orion Edutech Harris Myntra Tata Consultancy (TCS) HCL Technologies Infosys Wipro Tech Mahindra IBM Mahindra Satyam intermediate|
|What is the difference between Singleton and Prototype Bean scope in Spring ?|
|When should we use prototype scope and singleton scope for beans ?|
|What are design situations to use Singleton and Prototype Design Pattern ?|
|Does it make sense to clone an object which is supposed to be immutable ?|
|Can we use Prototype Bean scope with Autowiring ?|