FDM Group interview question

4 pillars of java OOP