Categories

Oct 16, 2019 in Design Patterns

Q:

Name some of the design patterns which are used in JDK library.

1 Answer

Oct 16, 2019

Following are some of the design patterns which are used in JDK library.

  • Decorator patttern is used by Wrapper classes.

  • Singleton pattern is used by Runtime, Calendar classes.

  • Factory pattern is used by Wrapper class like Integer.valueOf.

  • Observer pattern is used by event handling frameworks like swing, awt.

Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

Madanswer
Oct 17, 2019 in Design Patterns
Oct 16, 2019 in Design Patterns
Oct 16, 2019 in Design Patterns
...