Pregunta de entrevista de Paycom

Java OOP explain + give an example Return the most frequent string