Java MCQ: Which of the following is not an OOPS concept in Java?
a) Inheritance
b) Encapsulation
c) Polymorphism
d) Compilation
Answer:
d) Compilation
Explanation:
Compilation is not an object-oriented programming (OOP) concept. The main OOP concepts in Java are Inheritance, Encapsulation, Polymorphism, and Abstraction.
Reference links:
https://www.rameshfadatare.com/learn-java-programming/
https://www.javaguides.net/p/java-tutorial-learn-java-programming.html