Builder Design Pattern separate the construction process of complex object from its representation so that the same construction process can be used to create different representations.
Class Diagram of Builder Pattern:
Sequence diagram of Builder pattern:
Class Diagram of Real Example:
Click to see source code of below example in c++