What are virtual methods? How are they used?
Answers were Sorted based on User's Feedback
Answer / betty
virtual methods is applied in polymorphism. When you declare
a method as virtual, you can override the method in another
class.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / chinju
virtual methods are methods that do not really exists but
act as exist in some part of a program.Keyword virtual is used.
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / chandana
virtual methods are method definitions without
implementations specified. Such methods are a part of
abstract classes, which can not be instantiated. Any non-
abstract child class must provide implementation for these
classes.
| Is This Answer Correct ? | 1 Yes | 7 No |
Is comparator a functional interface?
int a = '3' + '4'; char n = (char)a; What will be answer of n?
What is the role of the datareader class in ado.net connections?
Which technology is best for desktop application?
Is array a collection c#?
what is the difference between interface and abstraction?
5 Answers Choice Solutions, IBM,
What is the difference between out and ref in c#?
Can you override private virtual methods?
How do you serialize an object?
if we are updating a database using thread, and mean while application crashes or thread being aborted then what will happen in Database? Rollback or Database will be updated? Please explain with different scenario.
What is use of hashtable in c#?
What is javascriptserializer c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)