Skip to content
devhub.
ExploreCompareSaved
Sign in
DevHubBuilt for curious developers. Data from GitHub.
Back to repositories
Public repository / Design-pattrns

Prototype-Pattern

Prototype pattern is one of the Creational Design pattern, so it provides a mechanism of object creation. Prototype pattern is used when the Object creation is a costly affair and requires a lot of time and resources and you have a similar object already existing. So this pattern provides a mechanism to copy the original object to a new object and then modify it according to our needs. This pattern uses Java cloning to copy the object.

View on GitHub
2Stars
0Forks
0Open issues
1Subscribers

Language distribution

Share of source bytes reported by GitHub

Java93%
HTML7%

Recent activity

Latest commits on the default branch

first commitmohamedebrahim96 · Dec 9, 2018Update README.mdmohamedebrahim96 · Dec 9, 2018Update README.mdmohamedebrahim96 · Dec 9, 2018Create README.mdmohamedebrahim96 · Dec 9, 2018first commitmohamedebrahim96 · Dec 9, 2018

Project details

Created Dec 2018 Updated Dec 2018
designdesignpatternspatternpatternsprototypeprototype-pattern

Contributors

1
mohamedebrahim96's avatarmohamedebrahim965 commits