0 votes
14 views

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

in Education by (48.2k points)

1 Answer

0 votes

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 (48.2k points)

Related questions

0 votes
1 answer 32 views
32 views asked Nov 7, 2020 in Education by Editorial Staff (48.2k points)
0 votes
1 answer 23 views
0 votes
1 answer 26 views
26 views asked Nov 7, 2020 in Education by Editorial Staff (48.2k points)
0 votes
1 answer 13 views
0 votes
1 answer 14 views
0 votes
1 answer 13 views
0 votes
1 answer 9 views
0 votes
1 answer 13 views
0 votes
1 answer 20 views
0 votes
1 answer 15 views
0 votes
1 answer 32 views
0 votes
1 answer 13 views
...