What does Runtime dependencies of Objects mean?

Asked

Viewed 168 times

2

What is the meaning of Runtime dependencies of Objects in object-oriented programming? I came across this question by studying C++.

1 answer

4


The translation of Runtime dependencies of Objects in free scope would be something like "dependency of objects at runtime". It works as follows:

In languages compiled as C++, the compiler has basically two phases: a compilation, in which all classes and data structures are conferred and their code is transformed into machine code, and linkage, where references between multiple object files (or machine code files) are checked again to see if nothing is missing.

In the case of runtime dependencies, we may be talking about classes that are implemented in dynamic libraries, usually provided by third parties. The conference of these dependencies is done when your program runs. Error handling should be done through the exception capture mechanism.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.