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.

Gurpreet said:   1 decade ago
Data hiding specifically means hiding the contents of 1 function from another being described in a program. It is implemented via using access specifiers namely protected and private.

Dureadan said:   1 decade ago
Data hiding mean the data of 1 function is hidden from other function present in same class. Also known as encapsulation.

Bawa said:   1 decade ago
What is data hiding?

Vivek kumar said:   1 decade ago
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.

Ankita said:   1 decade ago
Hey whats dynamic typing ?

Dipali chaudhari said:   1 decade ago
Dynamic binding means Check at runtime.

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

Rohit said:   1 decade ago
Why not the dynamic typing is correct ? If we see the example of function overloading then ther is dynamic linking on the basis of data types ? So dynamic lynking may be correct. Please answer.

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

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.


Post your comments here:

Your comments will be displayed after verification.