ION Group Interview Question

Asked four pillars of oops in java