What is builder pattern in Java with real life Example

Advertisements

  Top Tutorials     New Tutorials     Submit     Login     Register  

Tutorial Detail

What is builder pattern in Java with real life Example

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
http://javarevisited.blogspot.com/2012/06/builder-design-pattern-in-java-example.html
  • Total Hits: 12711

  • Average Rating :
    URL RatingURL RatingURL RatingURL RatingURL Rating

  •  

  • Total Votes: 140 votes

  • Category: JAVA/Core JAVA

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

  • Submitted By: Javin Paul

  • Set as Favorite

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.    More detail...

Rating Detail

 Stars  Percentage  Total Vote
 One star  Vote LeftVote MiddleVote Right 38.57%  54
 Two starsTwo star  Vote LeftVote MiddleVote Right 10%  14
 Three starsThree starsThree stars  Vote LeftVote MiddleVote Right 11.43%  16
 Four starsFour starsFour starsFour stars  Vote LeftVote MiddleVote Right 10.71%  15
 Five starsFive starsFive starsFive starsFive stars  Vote LeftVote MiddleVote Right 29.29%  41

Caste Your Vote

 Rating  Selection  Guidelines
 Poor:     Very disappointing, useless.
 Fair:     Below average, disappointing but not useless.
 Good:     About average in its class.
 Very Good:     Above average for its category.
 Excellent:     One of the best Tutorials in its category.





Advertisements
Advertisements