← 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?
- A.Encapsulation
- B.Polymorphism
- C.Compilation
- 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 →