Search Interview Questions
| More than 3000 questions in repository.|
There are more than 900 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|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 Asked in 11 Companies intermediate|
|What are design situations to use Singleton and Prototype Design Pattern ?|
|What is the difference between Singleton and Prototype Bean scope in Spring ?|
|When should we use prototype scope and singleton scope for beans ?|
|Does it make sense to clone an object which is supposed to be immutable ?|
|Can we use Prototype Bean scope with Autowiring ?|