What are the examples of Abstract Factory design pattern in JDK?

In JDK there are many places where Abstract Factory design pattern is used. Some of these are as follows:

<li>javax.xml.xpath.XPathFactory.newInstance()</li>


<li>javax.xml.parsers.DocumentBuilderFactory.newInstance()</li>


<li>javax.xml.transform.TransformerFactory.newInstance()</li>

Leave a Reply

Your email address will not be published. Required fields are marked *