Software QA (13)
SQL Server (1)
What is shadowing
What is shadowing ?
When two elements in a program have same name, one of them can hide and shadow the
other one. So in such cases the element which shadowed the main element is referenced.
Below is a sample code, there are two classes “ClsParent” and “ClsShadowedParent”. In “ClsParent” there is a variable “x” which is a integer. “ClsShadowedParent” overrides “ClsParent” and shadows the “x” variable to a string
Public Class ClsParent Public x As Integer End Class Public Class ClsShadowedParent Inherits ClsParent Public Shadows x As String End Class
2007-10-23, 6757👍, 0💬
What is CodeDom? “CodeDom” is an object model which represents actually a source code. It is designe...
Can include files be nested? The answer is yes. Include files can be nested any number of times. As ...
How To Enter Boolean Values in SQL Statements? - MySQL FAQs - Introduction to SQL Basics If you want...
What is synchronization and why is it important? With respect to multithreading, synchronization is ...
What are the different accessibility levels defined in .NET ? Following are the five levels of acces...