interface a
{
Method1()
Method2()
}
class b: a
{
override Method1()
override Method2()
}
what will happen & why?
Answer Posted / vijayakumar
It will throw an error bcz
1.override Key word not use with interface
correct ans :
class b : a
{
public void Method1()
{
}
public void Method2()
{
}
}
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What are the methods in c#?
What is parameter c#?
what is IFormatable
Define acid rule of thumb for transactions in c#.
What are the 2 broad classifications of data types available in c#?
What is args c#?
What is class sortedlist underneath?
What is difference between Trace and Debug
Int map to which .net types?
What is a hash table c#?
How do you sort an array in c#?
Why we use methods in c#?
What is string [] args in c#?
What is c sharp used for?
What are the types of methods in c#?