What is builder pattern in Java with real life Example

Tutorials Shared by the Internet Community

Advertisements


Synopsis

Builder pattern in Java is used to create objects with lots of mandatory and option value. Since after 4 or 5 arguments constructor started getting ug

Statistics

  • Total Hits - 17130

  • Total Votes - 100 votes

  • Vote Up - 44 votes

  • Vote Down - 56 votes

  • Domain - javarevisited.blogspot.com

  • Category - JAVA/Core JAVA

  • Submitted By - Javin Paul

  • Submitted on - 2012-11-01 15:33:05

Description

Builder pattern in Java is used to create objects with lots of mandatory and option value. Since after 4 or 5 arguments constructor started getting ugly, builder pattern solves that problem elegantly. ...


Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements