CitiusTech Interview Question

What are the 4 pillars of OOPS? Write a code to reverse a string