Interviews1 answer
Can we implement interface in abstract class?
1 Answer
Yes we can implement. And the code will go as below,
interface hello
{
void message();
}
abstract class world:hello
{
public void message()
{
Console.WriteLine("HelloWorld");
}
}
Avikshith AradhyaPosted May 30, 2016, 1:50 AM EDT