Topic: Programming in Java
Java is not considered as a pure OOP language because
- A. It uses primitive data types
- B. It allows use of static variables and static methods
- C. Every executable Java application relies on Main Method
- D. All of the above
Answer: A. It uses primitive data types
Explanation: In a pure Object-Oriented Programming (OOP) language (like Smalltalk), absolutely everything must be treated as an object. Java supports primitive data types (like int, char, boolean, float, etc.) which are directly stored values and not objects, making it a hybrid or impure OOP language.