Which of the following statement is true? I) In Procedural programming languages, all function calls are resolved at compile-time II) In

Julipkq

New member
Which of the following statement is true?
I) In Procedural programming languages, all function calls are resolved at compile-time
II) In Object Oriented programming languages, all function calls are resolved at compile-time
A. I only
B. II only
C. Both I and II
D. Neither I nor II
 
Answer: a
Explanation: In Procedural programming like C we don't have the concept of polymorphism, therefore, all the function calls are resolved at the compile-time but in case of OOP languages sue to polymorphism concept all function calls are not resolved at compile-time.
 

Tìm kiếm

Back
Top