Java · Medium · ProExplain the Composite pattern. Where is it used in Java (e.g., file systems, UI trees)?JavaAdvanced JavaDesign Patterns