Pregunta de entrevista de Cognizant

Explain multithreading in Java Syntax for establishing a connection in php