c# support late binding or early binding.

Answer Posted / jitendra

these both are type of polymorphism.

Note: Polymorphism has two type.

1.) compile time polymorphism/ method overloading/ early binding

2. run time polymorphism/ method overriding/ late binding

In early binding or method overloading at a compile
tome we know that what output will come so it is called
early binding.

In late binding or method overriding compiler does not
understand which class method is called. Note that both
methods have same name but onee is in base class and one is
in derive class and system know only at runtime which method
will display so it is called late bindinng.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is there any error below, its a code to delete all entires from a map #include #include iostream.h int main() { int i =0; map TestMap; while(i<3) { TesMap.insert(TestMap::value_type(i,Test)); i++; } typedef map :: iterator mapIter =TestMap.begin(); if(mapIter!=TestMap.end()) { TestMap.erase(mapItrer); ++mapIter; } return 0; }

1883


write a program to convert a decimal number in to its equivalent binary number?

2071


Name the different types of stl containers.

685


How connect plc and pc through software

1912


Is string part of stl?

671






how to making game in c++ ?

2174


what is template and type convertion

1990


Can we use stl in coding interviews?

1269


Define stl.

766


What is a standard template library (stl)? What are the various types of stl containers?

663


What is a standard template library (stl)?

636


Explain stl.

898


What is stl stand for?

729


how can u do connectivity in c++ language? plz send me connectivity code in c++ ?

1884


In what scenario does the Logical file and Physical file being used?

2317