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
What is difference between association, aggregation and inheritance relationships?
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 a function c#?
What are extender provider components? Explain how to use an extender provider in the project.
What do you mean by saying a "struct is a value type"?
What is the use of static members with example using c#.net.
Explain the process of inheriting a class into another class?
Does c# support c type macros?
What is meaning of type safety in c#?
What the different phase/steps of acquiring a proxy object in webservice?
Is it possible to inline assembly or il in c# code?
How do you remove white spaces from a string?
What is parallel programming in c#?
What do you know about device context?
Which string method is used for concatenation of two strings in c#?