Answer Posted / santu sarkar
Early binding is when your client app can detect at compile
time what object a property or method belongs to. Since
it "knows", it resolves the references and the compiled
executable contains only the code to invoke the object's
properties, methods, events, etc.
This is a good thing if you want to speed because the call
overhead is greatly reduced.
Late binding is the slowest way to invoke the properties
and methods of an object. You use late binding when you
write a function that uses an object variable that acts on
any of several different class objects. Since the compiler
doesn't "know" what class object will be assigned to the
variable, it doesn't resolve the references into the
compiled executable. In this case they are resolved at
runtime... when you actually have an assigned object to
reference the properties and methods to.
Hope this helps.
Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers
What are the different types of stl containers?
What are the various types of stl containers?
How is stl different from c++ standard library?
How connect plc and pc through software
What is meant by stl in c++?
please visit this site you'll find my question this is my homework please answer it if you can http://easyscience.org/ib/lofiversion/index.php/t36168.html
Is stl open source?
Define stl.
In what scenario does the Logical file and Physical file being used?
What are the symptoms of stl?
What is a list in c++ stl?
how to use C++?
What two types of containers does the stl provide?
Describe the My Computer and My Documents folders; identify the elements that are present in every Window.
Who wrote stl?