Which pair of features is essential to object-oriented programming?
Which pair of features is essential to object-oriented programming?
Answer: B. Abstraction/Encapsulation and Polymorphism with Inheritance — Core OOP requires encapsulation/abstraction and polymorphism with inheritance. Strict typing, concurrency, or GC are not essential features.
- A.
Strictly-typed variables and subtype safety
- B.
Abstraction/Encapsulation and Polymorphism with Inheritance
- C.
Concurrency and modularity
- D.
Garbage collection and memory management
Attempted by 432 students.
Show answer & explanation
Correct answer: B
Core OOP requires encapsulation/abstraction and polymorphism with inheritance. Strict typing, concurrency, or GC are not essential features.
Loading lesson…