Oct 17, 2019 in Design Patterns
Q: Can you name few design patterns used in standard JDK library?

1 Answer

0 votes
Oct 17, 2019
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.
Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

0 votes
Aug 12, 2020 in Design Patterns
...