1. Explain the four pillars of OOP in detail.
2. Why are pointers used in C and C++ but not in Java?
3. Write a program to reverse a string.
4. What is the difference between a flow and a flow action?
5. Write code on an online compiler demonstrating function overloading and overriding.