Which of the following statements is completely true? I. In an object-oriented programming language, all the function calls are resolved at compile-time.
Which of the following statements is completely true?
I. In an object-oriented programming language, all the function calls are resolved at compile-time.
II. In a procedure programming language, all the function calls are resolved at compile-time.
Show answerHide answer
Correct answer: (A) Only II
Explanation
Object-oriented languages also use run-time (virtual) binding, so I is false; in procedural languages every call is resolved at compile time, so only II is true.