interface a
{
Method1()
Method2()
}
class b: a
{
override Method1()
override Method2()
}
what will happen & why?
Answer Posted / sandeep joshi
without virtual keyword
cant override method
its error at compile time .....
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Is it possible to have a static indexer in c#? Allowed in c#.
What is the difference between virtual and override in c#?
explain Garbage collector’s functionality on unmanaged code
What are annotations in c#?
What is difference between the "throw" and "throw ex" in .net?
What are satellite assemblies? How will you get the different language strings?
What is an example of a delegate?
Can a class be protected in c#?
List some of the basic string operation?
What is icomparer in c#?
How can I create a process that is running a supplied native executable (e.g., Cmd.exe)?
What is ienumerable and iqueryable?
Explain the difference between a Private Assembly and a Shared Assembly
Define multicast delegate? How it be used?
What is int32?