VB.Net Interview Question and Answers
116. |
What is reflection? |
|
All .NET compilers produce metadata about the types defined in the modules they produce. This metadata is packaged along with the module (modules in turn are packaged together in assemblies), and can be accessed by a mechanism called reflection. |
|
|
117. |
What is managed code execution? |
|
The .Net framework loads and executes the .Net applications, and manages the state of objects during program execution. This also provides automatically garbage collections. |
|
|
118. |
What is Remoting? |
|
Remoting is a means by which one operating system process, or program, can communicate with another process. The two processes can exist on the same computer or on two computers connected by a LAN or the Internet. Web services are probably the best known type of remoting, but they are not the only option. |
|
|
119. |
What is the main use of a namespace? |
|
Namespaces are useful to avoid collision or ambiguity among the classes and type names.
Another use of the namespace is to arrange a group of classes for a specific purpose. |
|
|
120. |
What is the difference between early binding and late binding? |
|
- Calling a non virtual method, decided at a compile time is known as early binding.
-
Calling a virtual method (Pure Polymorphism), decided at a runtime is known as late binding.
|
|
|