In JDK there are many places where Abstract Factory design pattern
is used. Some of these are as follows:
javax.xml.xpath.XPathFactory.newInstance()
javax.xml.parsers.DocumentBuilderFactory.newInstance()
javax.xml.transform.TransformerFactory.newInstance()
https://www.digitalocean.com/community/tutorials/abstract-factory-design-pattern-in-java