Object-Oriented Programming (OOP)
What is the name for a mechanism where the method to be executed is determined at compile time based on the object's declared type?
- A. Association
- B. Static binding ✓
- C. Super keyword
- D. Destructor
Correct answer
B. Static binding
Explanation
Static binding refers to a mechanism where the method to be executed is determined at compile time based on the object's declared type.