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 components of stl?
When did c++ add stl?
Why should a c++ programmer be interested in stl?
Q1. A. What is unary operator? List out the different operators involved in the unary operator. B. What is an adjust field format flag? Q2. A. Distinguish between a # include and #define. B. Can a list of string be stored within a two dimensional array? Q3. A.Explain how a pointer to function can be declared in C++? B.List the merits and demerits of declaring a nested class in C++? Q4. A. What are the syntactic rules to be avoid ambiguity in multiple inheritence? B. Explain the operation of overloading of an assignment operator. Q5. A. Explain how the virtual base class is different from the conventional base classes of the opps. B. Explain how an exception handler is defined and invoked in a Program. Q6. A. What is a binary file? List the merits and demerits of the binary file usagein C++. B. Write short notes on Text Manipulation Routines. C. Write bites in Turbo c++ Header (“Include”) Files.
What is a standard template library (stl)? What are the various types of stl containers?
How does an stl file work?
What is the stl, standard template library?
write a program to convert a decimal number in to its equivalent binary number?
totoo po ba ang manga aliens!
How do I convert a stl file?
a program using one dimensional array that searches a number if it is found on the list of given input numbers given by the user and locate its exact location in the list.
What is a stl vector?
how to use C++?
How is stl different from c++ standard library?
i wanted to know about questions about c,c++ , which is required for placements.... im a fresher