C++ Programming - OOPS Concepts - Discussion

Discussion Forum : OOPS Concepts - General Questions (Q.No. 5)
5.
Which of the following concepts means determining at runtime what method to invoke?
Data hiding
Dynamic Typing
Dynamic binding
Dynamic loading
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
37 comments Page 3 of 4.

Vairakkani said:   1 decade ago
Dynamic loading means compile time. But dynamic binding means runtime that's why dynamic binding is correct.

Srikanth said:   1 decade ago
I don't agree with Vairakkani.

Dynamic means Runtime. Whereas static means Compile time.

Binding can be defined as the association between (link) function call to a function definition.

Dynamic binding means. The association (link) of function call to a function definition during runtime.

Utsav Bhatnagar said:   1 decade ago
Can you please explain in more detail about dynamic binding, dynamic loading.

Prashant said:   1 decade ago
Dynamic loading is a mechanism by which a computer program can, at run time, load a library (or other binary) into memory, retrieve the addresses of functions and variables contained in the library, execute those functions or access those variables, and unload the library from memory.

Nikita choudhary said:   1 decade ago
Dynamic binding binds the data at the run time. Whereas static is at the time of compiling.

Karthi said:   1 decade ago
Can you please explain data hiding, dynamic binding with examples ?

Kavita bangar said:   1 decade ago
Prashant is correct!

In C++ you can have an array of base classes but you can call different functions of the derived class by assigning the derived class objects addresses by using virtual functions-this is dynamic binding. If the methods are virtual then this is dynamic binding.

Rupali said:   1 decade ago
What is mean by dynamic loading, binding and linking ?

Dipanjan Saha said:   1 decade ago
Please can you tell what's the difference between Dynamic binding and dynamic loading?

Susi said:   1 decade ago
Can I know the example for dynamic binding and dynamic loading ?


Post your comments here:

Your comments will be displayed after verification.