Static vs. dynamic binding - C++

Static vs. Dynamic Binding.

- Static binding is done at compile time when a function is called in order to match it with the definition.
- Dynamic binding is at run time where we can specify that the compiler matches a function call with the correct function definition at run time.
- Virtual keyword is used if the function needs to be dynamically bounded.

Static vs. Dynamic Binding

- Binding means connecting the function call to a function implementation.
- Connecting the function call to the function implementation before execution is static binding whereas connection them at the run-time is dynamic binding.
What is abstract class?
What is abstract class? - A class whose object can't be created is abstract class...
Vector vs. Map
Vector vs. Map - In a vector, all the elements are in a sequence...
object oriented language(OOPS) elements - List the elements of an object oriented language
object oriented language(OOPS) elements - Elements of an object oriented language, characteristics of Object Oriented programming language, basic Concepts used in the Object-Oriented Programming language.
Post your comment