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

1 Answer

0 votes
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 17, 2019 in Design Patterns by Robin
0 votes
asked Aug 12, 2020 in Design Patterns by RShastri
0 votes
asked Mar 25, 2020 in SAP by Hodge