Question 97Asked in BPSC TRE 2.0 (2023) Computer Class 9-10

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.
  1. AOnly II
  2. BOnly I
  3. CBoth I and II
  4. DMore than one of the above
  5. ENone of the above
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.

From BPSC TRE 2.0 (2023) Computer Class 9-10 — Previous Year Paper

This is question 97 of BPSC TRE 2.0 (2023) Computer Class 9-10 — Previous Year Paper. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.