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

► Click here to show 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.
Loan/Mortgage
Learn More with Madanswer

Related questions

0 votes
asked Aug 12, 2020 in Design Patterns by RShastri
...