VB.NET INTERVIEW QUESTION & ANSWERS
111. |
What is a bubbled event? |
|
When a complex control like datalist or datagrid, which contains a child control, using an itemcommand can listen to the events raised by the child control in the main control. The process of listening to the child control in the main or parent control is called as event bubbling. |
112. |
What is an ArrayList? |
|
The ArrayList object is a collection of items containing a single data type values. |
113. |
What is difference between constants, readonly and, static? |
|
- Constants: The value can't be changed.
- Read-only: The value will be initialized only once from the constructor of the class.
- Static: Value can be initialized once.
|
114. |
What is the difference between Shadowing and Overriding? |
|
Overriding redefines only the implementation while shadowing redefines the whole element.
In Overriding derived classes can refer the parent class element by using "ME" keyword, but in shadowing you can access it by "MYBASE" . |
115. |
What is a Literal Control? |
|
The Literal control is used to display text on a page. The text is programmable. This control does not let you apply styles to its content. |