Pregunta de entrevista de Shriffle

What is the OOPs concept? How do you reverse a string * pattern