ION Group interview question

Asked four pillars of oops in java