Early binding is a mechanism in which objects are declared to the compiler as being of a specific type.
Early binding is a mechanism in which objects are declared to the compiler as being of a specific type.
The specific type of an early bound object is known to the compiler at compile time. This means the compiler can determine if method calls are valid, before a program is run by an end user. This is contrasted with late binding, where objects are declared generically and errors are caught during runtime.
It is expected that questions tagged earlybinding specifically relate to programming using early bound code. You should also tag your post with the specific programming language being used.
Example (VBA):
' early bound objects are declared as a specific type
Dim obj As Excel.Application
Set obj = CreateObject("Excel.Application")