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

Open 1 Answers 34 Views Education

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

1 Answer

0

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

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.

by (54.6k points)
...