What is late bound function call and early bound function
call? Differentiate.
Answers were Sorted based on User's Feedback
Answer / svlsr2000
Functions are boud to there address so that they could be
executed. if the address of the functions are known durning
compile time the compiler binds it, this kind of binding is
known as compile time binding or early binding. Where as
when we dont know which function needs to be exucuted
during compile time (as in case of dynamic polymorphism),
compiler uses mechaninsm of virtual table and binds the
function address during runtime. this is known as runtime
binding or late binding.
Is This Answer Correct ? | 24 Yes | 1 No |
Answer / amrut kanthavadiya
if function or any variable known during the compile time
such Binding is known as Early Binding.
if during compile time does not specify which function is
bind. such binding known as Late Binding.
Example
--------
Object is best Example of late binding
we are bind object variable at Dynamically when we use the
object.
Is This Answer Correct ? | 8 Yes | 1 No |
what is the function of 'this' operator ?
1. Strong name 2. how to prevent a class from being inherited 3. delegates 4. default modifier for interface 5. default modifier for class 6. base class for exception 7. diff bet trigger and view in sql 8. how to exchange values from one page to another page 9. can multiple catch block ll be executed at same time 10. can u store different data types in an array & array list 11. when we ll use trigger 12. try,catch,finally usage
Is enum a class?
What does I oop mean?
Define a class to represent a bank account. Include the following members: Data Members: Name of the Depositor Account Number Type of Account Balance amount in the account Member Functions: To assign the initial values. To deposit an account. To withdraw an amount after checking the balance. Write a C++ main program to display account number, name and balance.
i ahve v low % in 12th n BSC which is aroun 50 coz science was imposed on me......nw m doin MCA n my aggregate in above 74%,what shud i say if asked about low previous percentage??????
Does c++ support multilevel and multiple inheritance?
What is multilevel inheritance?
What is nutshell in programming language?
1 Answers Satyam, Tech Mahindra,
What are the different forms of polymorphism??
explain the concepts of oops?
diff between Virtual mathod and abstract method?