Using LLMs to Extract UML Class Diagrams from Java and Python Programs:An Empirical Study | Synapse