Java · Medium · ProExplain the Flyweight pattern. How does Java String pool use it?JavaAdvanced JavaDesign Patterns