My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more
The Factory Pattern Using Lambda Expressions in Java 8 - DZone Java

The Factory Pattern Using Lambda Expressions in Java 8 - DZone Java

Maria Charman's photo
Maria Charman
·Apr 25, 2017

The factory pattern is one of the most used design patterns in Java. This type of design pattern falls under the host of creational patterns, as this pattern provides one of the best ways to create an object. The factory design pattern lets you create objects without exposing the instantiation logic to the client.