0 votes
in Design Patterns by
Can you name few design patterns used in standard JDK library?

1 Answer

0 votes
by
Decorator design pattern which is used in various Java IO classes, Singleton pattern which is used in Runtime , Calendar and various other classes, Factory pattern which is used along with various Immutable classes likes Boolean e.g. Boolean.valueOf and Observer pattern which is used in Swing and many event listener frameworks.

Related questions

0 votes
asked Oct 10, 2021 in Full Stack Developer by rajeshsharma
0 votes
asked Jul 23, 2023 in Design Patterns by Robindeniel
...