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 is stl in oop?
Is stl part of c++ standard?
What are the symptoms of stl?
How do you convert stl to steps?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
What is stl stack?
how to making game in c++ ?
write a program to convert a decimal number in to its equivalent binary number?
What is the use of stl?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
Who wrote stl?
Is string part of stl?
totoo po ba ang manga aliens!
Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup.
Define stl.