🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Java Interview Questions: all 10 questions

Quiz: Java Interview Questions · Question 6 of 10

Which of these is NOT one of the four pillars of OOP?

Which of these is NOT one of the four pillars of OOP?

  1. A.Encapsulation
  2. B.Polymorphism
  3. C.Compilation
  4. D.Inheritance
Answer & explanation

Correct answer: Compilation

The four pillars are encapsulation, abstraction, inheritance and polymorphism.

Can you get the rest right without peeking?

Take the timed Quiz: Java Interview Questions quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →