Pregunta de entrevista de Cognizant

Describe STLC. What do you prefer to automate test cases in Selenium? Java or Python?