0 votes
in Design Patterns by

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

1 Answer

0 votes
by

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.

Related questions

0 votes
asked Oct 16, 2019 in Design Patterns by DavidAnderson
0 votes
asked Oct 16, 2019 in Design Patterns by DavidAnderson
...